From 10d6a2e9157c3b1b1b6171eedbfe3a5d5843711c Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sun, 25 Feb 2018 08:30:29 +0100 Subject: [PATCH] fix confusing use of "signal" after process failure --- src/ce_ceproject.pas | 2 +- src/ce_main.pas | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ce_ceproject.pas b/src/ce_ceproject.pas index e6dbb98d..73a01304 100644 --- a/src/ce_ceproject.pas +++ b/src/ce_ceproject.pas @@ -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; diff --git a/src/ce_main.pas b/src/ce_main.pas index a1ebef99..c2cfe00b 100644 --- a/src/ce_main.pas +++ b/src/ce_main.pas @@ -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);