Update ProcessRunner.cs -- fix for space chars in running app file name (#3317)
fix pascalabcnet/pascalabcnet#ISSUE-3315
This commit is contained in:
parent
6fa1caa034
commit
e14b517e9d
|
|
@ -213,6 +213,8 @@ namespace VisualPascalABC.Utils
|
|||
public string TempBatFile = null;
|
||||
public void Start(string command, string arguments, bool redirectIO, bool redirectErrors, bool RunWithPause, bool attachDebugger, bool fictive_attach)
|
||||
{
|
||||
if (command.Contains(" "))
|
||||
command = "\"" + command + "\"";
|
||||
RedirectIO=redirectIO;
|
||||
process = new Process();
|
||||
string BatFile = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue