diff --git a/ide/fpcompil.pas b/ide/fpcompil.pas index d51c96c7f0..9a0bd7f81e 100644 --- a/ide/fpcompil.pas +++ b/ide/fpcompil.pas @@ -1008,7 +1008,7 @@ begin {$endif} {$ifdef Unix} error:=0; - If Shell(GetExePath+PpasFile)=-1 Then + If fpsystem(GetExePath+PpasFile)=-1 Then Error:=fpgeterrno; {$else} DosExecute(GetEnv('COMSPEC'),'/C '+GetExePath+PpasFile);