mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 22:29:24 +02:00
+ Use baseunix fpexecv* calls
This commit is contained in:
parent
2069166e8a
commit
f7ff698735
@ -4,11 +4,11 @@
|
||||
|
||||
uses
|
||||
{$ifdef ver1_0}
|
||||
Linux
|
||||
Linux;
|
||||
{$else}
|
||||
Baseunix,
|
||||
unix
|
||||
{$endif};
|
||||
Unix,
|
||||
Baseunix;
|
||||
{$endif}
|
||||
|
||||
|
||||
|
||||
@ -350,9 +350,9 @@ begin
|
||||
if (poRunSuspended in Options) then
|
||||
sigraise(SIGSTOP);
|
||||
if FEnv<>Nil then
|
||||
fpexecve(PChar(PName),Argv,Fenv)
|
||||
fpexecve(PName,Argv,Fenv)
|
||||
else
|
||||
fpexecv(Pchar(PName),argv);
|
||||
fpexecv(PName,argv);
|
||||
Halt(127);
|
||||
end
|
||||
Finally
|
||||
|
Loading…
Reference in New Issue
Block a user