fix confusing use of "signal" after process failure

This commit is contained in:
Basile Burg 2018-02-25 08:30:29 +01:00
parent 9d91bc28de
commit 10d6a2e915
2 changed files with 3 additions and 3 deletions

View File

@ -908,7 +908,7 @@ begin
SetCurrentDirUTF8(fRunnerOldCwd);
//
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);
end;
end;

View File

@ -2800,7 +2800,7 @@ begin
if inph.isNotNil then
(inph as ICEProcInputHandler).removeProcess(proc);
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);
end;
@ -2972,7 +2972,7 @@ begin
fDoc, amcEdit, amkInf);
end
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);
fMsgs.message(shortenPath(fDoc.fileName, 25) + ' has not been compiled',
fDoc, amcEdit, amkErr);