mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 15:29:23 +02:00
fixed support for filenames with spaces in exec
git-svn-id: trunk@1738 -
This commit is contained in:
parent
f29fde8978
commit
0fde736720
@ -299,7 +299,7 @@ var
|
|||||||
Begin
|
Begin
|
||||||
{Make ToolServers working directory in sync with our working directory}
|
{Make ToolServers working directory in sync with our working directory}
|
||||||
PathArgToFullPath(':', wdpath);
|
PathArgToFullPath(':', wdpath);
|
||||||
wdpath:= 'Directory ' + wdpath;
|
wdpath:= 'Directory ''' + wdpath + '''';
|
||||||
err:= ExecuteToolserverScript(PChar(wdpath), LastDosExitCode);
|
err:= ExecuteToolserverScript(PChar(wdpath), LastDosExitCode);
|
||||||
{TODO Only change path when actually needed. But this requires some
|
{TODO Only change path when actually needed. But this requires some
|
||||||
change counter to be incremented each time wd is changed. }
|
change counter to be incremented each time wd is changed. }
|
||||||
|
Loading…
Reference in New Issue
Block a user