mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 06:38:06 +02:00
codetools: clean up
git-svn-id: trunk@39743 -
This commit is contained in:
parent
d7ae5688ec
commit
b2b556c0fd
@ -1223,7 +1223,6 @@ var
|
||||
OutputLine: String;
|
||||
OutLen: Integer;
|
||||
LineStart, i: Integer;
|
||||
CmdLine: String;
|
||||
begin
|
||||
if not FileIsExecutable(Filename) then exit(nil);
|
||||
Result:=TStringList.Create;
|
||||
@ -1232,9 +1231,9 @@ begin
|
||||
DbgOut(['RunTool ',Filename]);
|
||||
for i:=0 to Params.Count-1 do
|
||||
dbgout(' "',Params[i],'"');
|
||||
Debugln;
|
||||
TheProcess := TProcess.Create(nil);
|
||||
try
|
||||
//DebugLn(['RunTool ',Params]);
|
||||
TheProcess.Executable := UTF8ToSys(Filename);
|
||||
TheProcess.Parameters:=Params;
|
||||
TheProcess.Options:= [poUsePipes, poStdErrToOutPut];
|
||||
|
Loading…
Reference in New Issue
Block a user