mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 11:56:54 +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;
|
OutputLine: String;
|
||||||
OutLen: Integer;
|
OutLen: Integer;
|
||||||
LineStart, i: Integer;
|
LineStart, i: Integer;
|
||||||
CmdLine: String;
|
|
||||||
begin
|
begin
|
||||||
if not FileIsExecutable(Filename) then exit(nil);
|
if not FileIsExecutable(Filename) then exit(nil);
|
||||||
Result:=TStringList.Create;
|
Result:=TStringList.Create;
|
||||||
@ -1232,9 +1231,9 @@ begin
|
|||||||
DbgOut(['RunTool ',Filename]);
|
DbgOut(['RunTool ',Filename]);
|
||||||
for i:=0 to Params.Count-1 do
|
for i:=0 to Params.Count-1 do
|
||||||
dbgout(' "',Params[i],'"');
|
dbgout(' "',Params[i],'"');
|
||||||
|
Debugln;
|
||||||
TheProcess := TProcess.Create(nil);
|
TheProcess := TProcess.Create(nil);
|
||||||
try
|
try
|
||||||
//DebugLn(['RunTool ',Params]);
|
|
||||||
TheProcess.Executable := UTF8ToSys(Filename);
|
TheProcess.Executable := UTF8ToSys(Filename);
|
||||||
TheProcess.Parameters:=Params;
|
TheProcess.Parameters:=Params;
|
||||||
TheProcess.Options:= [poUsePipes, poStdErrToOutPut];
|
TheProcess.Options:= [poUsePipes, poStdErrToOutPut];
|
||||||
|
Loading…
Reference in New Issue
Block a user