diff --git a/compiler/globals.pas b/compiler/globals.pas index c9c7c4588e..d9387cc508 100644 --- a/compiler/globals.pas +++ b/compiler/globals.pas @@ -671,7 +671,7 @@ implementation expansion under linux } {$ifdef hasunix} begin - result := Unix.Shell(command); + result := Unix.fpsystem(command); end; {$else hasunix} {$ifdef amigashell}