codetools: fixed runtool currentdirectory utf8tosys

git-svn-id: trunk@26912 -
This commit is contained in:
mattias 2010-07-30 12:22:25 +00:00
parent 6066f05609
commit ee2a4b6481

View File

@ -1186,7 +1186,7 @@ begin
TheProcess.CommandLine := UTF8ToSys(CmdLine);
TheProcess.Options:= [poUsePipes, poStdErrToOutPut];
TheProcess.ShowWindow := swoHide;
TheProcess.CurrentDirectory:=WorkingDirectory;
TheProcess.CurrentDirectory:=UTF8ToSys(WorkingDirectory);
TheProcess.Execute;
OutputLine:='';
SetLength(buf,4096);