mirror of https://gitlab.com/basile.b/dexed.git
fix confusing use of "signal" after process failure
This commit is contained in:
parent
9d91bc28de
commit
10d6a2e915
|
@ -908,7 +908,7 @@ begin
|
||||||
SetCurrentDirUTF8(fRunnerOldCwd);
|
SetCurrentDirUTF8(fRunnerOldCwd);
|
||||||
//
|
//
|
||||||
if (proc.ExitStatus <> 0) then
|
if (proc.ExitStatus <> 0) then
|
||||||
fMsgs.message(format('error: the process (%s) has returned the signal %d',
|
fMsgs.message(format('error: the process (%s) has returned the code %d',
|
||||||
[proc.Executable, proc.ExitStatus]), self as ICECommonProject, amcProj, amkErr);
|
[proc.Executable, proc.ExitStatus]), self as ICECommonProject, amcProj, amkErr);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
|
@ -2800,7 +2800,7 @@ begin
|
||||||
if inph.isNotNil then
|
if inph.isNotNil then
|
||||||
(inph as ICEProcInputHandler).removeProcess(proc);
|
(inph as ICEProcInputHandler).removeProcess(proc);
|
||||||
if (proc.ExitStatus <> 0) then
|
if (proc.ExitStatus <> 0) then
|
||||||
fMsgs.message(format('error: the process (%s) has returned the signal %d',
|
fMsgs.message(format('error: the process (%s) has returned the code %d',
|
||||||
[proc.Executable, proc.ExitStatus]), fDoc, amcEdit, amkErr);
|
[proc.Executable, proc.ExitStatus]), fDoc, amcEdit, amkErr);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -2972,7 +2972,7 @@ begin
|
||||||
fDoc, amcEdit, amkInf);
|
fDoc, amcEdit, amkInf);
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
fMsgs.message(format('error: the process (%s) has returned the signal %d',
|
fMsgs.message(format('error: the process (%s) has returned the code %d',
|
||||||
[dmdproc.Executable, dmdproc.ExitStatus]), fDoc, amcEdit, amkErr);
|
[dmdproc.Executable, dmdproc.ExitStatus]), fDoc, amcEdit, amkErr);
|
||||||
fMsgs.message(shortenPath(fDoc.fileName, 25) + ' has not been compiled',
|
fMsgs.message(shortenPath(fDoc.fileName, 25) + ' has not been compiled',
|
||||||
fDoc, amcEdit, amkErr);
|
fDoc, amcEdit, amkErr);
|
||||||
|
|
Loading…
Reference in New Issue