mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 22:32:29 +02:00
* removed single remaining use of a 1.0.x deprecated function.
git-svn-id: trunk@21322 -
This commit is contained in:
parent
0ddd03eef2
commit
8082982d46
@ -1008,7 +1008,7 @@ begin
|
|||||||
{$endif}
|
{$endif}
|
||||||
{$ifdef Unix}
|
{$ifdef Unix}
|
||||||
error:=0;
|
error:=0;
|
||||||
If Shell(GetExePath+PpasFile)=-1 Then
|
If fpsystem(GetExePath+PpasFile)=-1 Then
|
||||||
Error:=fpgeterrno;
|
Error:=fpgeterrno;
|
||||||
{$else}
|
{$else}
|
||||||
DosExecute(GetEnv('COMSPEC'),'/C '+GetExePath+PpasFile);
|
DosExecute(GetEnv('COMSPEC'),'/C '+GetExePath+PpasFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user