diff options
Diffstat (limited to 'nim/extccomp.pas')
-rw-r--r-- | nim/extccomp.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nim/extccomp.pas b/nim/extccomp.pas index f51e5f690..a53ad1c10 100644 --- a/nim/extccomp.pas +++ b/nim/extccomp.pas @@ -15,8 +15,8 @@ interface {$include 'config.inc'} uses - nsystem, charsets, lists, ropes, nos, strutils, platform, condsyms, options, - msgs; + nsystem, charsets, lists, ropes, nos, strutils, osproc, platform, condsyms, + options, msgs; // some things are read in from the configuration file @@ -387,7 +387,7 @@ procedure execExternalProgram(const cmd: string); begin if (optListCmd in gGlobalOptions) or (gVerbosity > 0) then MessageOut('Executing: ' +{&} nl +{&} cmd); - if executeShellCommand(cmd) <> 0 then + if executeCommand(cmd) <> 0 then rawMessage(errExecutionOfProgramFailed); end; |