mirror of https://gitlab.com/basile.b/dexed.git
project pre-process output to messages when possible
This commit is contained in:
parent
36160253c8
commit
f7a6fad9c8
|
@ -1194,6 +1194,9 @@ begin
|
||||||
if ppproc.CurrentDirectory = '' then
|
if ppproc.CurrentDirectory = '' then
|
||||||
ppproc.CurrentDirectory := extractFilePath(ppproc.Executable);
|
ppproc.CurrentDirectory := extractFilePath(ppproc.Executable);
|
||||||
ppproc.Execute;
|
ppproc.Execute;
|
||||||
|
if not (poWaitOnExit in ppproc.Options) then
|
||||||
|
if poUsePipes in ppproc.Options then
|
||||||
|
repeat ProcessOutputToMsg(ppproc, mcProject) until not ppproc.Running;
|
||||||
finally
|
finally
|
||||||
ppproc.Free;
|
ppproc.Free;
|
||||||
end;
|
end;
|
||||||
|
@ -1247,6 +1250,9 @@ begin
|
||||||
if ppproc.CurrentDirectory = '' then
|
if ppproc.CurrentDirectory = '' then
|
||||||
ppproc.CurrentDirectory := extractFilePath(ppproc.Executable);
|
ppproc.CurrentDirectory := extractFilePath(ppproc.Executable);
|
||||||
ppproc.Execute;
|
ppproc.Execute;
|
||||||
|
if not (poWaitOnExit in ppproc.Options) then
|
||||||
|
if poUsePipes in ppproc.Options then
|
||||||
|
repeat ProcessOutputToMsg(ppproc, mcProject) until not ppproc.Running;
|
||||||
finally
|
finally
|
||||||
ppproc.Free;
|
ppproc.Free;
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue