mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 16:18:23 +02:00
* replaced deprecated shell by fpsystem.
git-svn-id: trunk@21327 -
This commit is contained in:
parent
3d03e2d76b
commit
7ae1db2e01
@ -990,7 +990,7 @@ end;
|
|||||||
{ Must use shell() for linux for the wildcard expansion (PFV) }
|
{ Must use shell() for linux for the wildcard expansion (PFV) }
|
||||||
{$ifdef UNIX}
|
{$ifdef UNIX}
|
||||||
IOStatus:=0;
|
IOStatus:=0;
|
||||||
ExecuteResult:=Shell(FixPath(Progname)+' '+Comline);
|
ExecuteResult:=fpsystem(FixPath(Progname)+' '+Comline);
|
||||||
if ExecuteResult<0 then
|
if ExecuteResult<0 then
|
||||||
begin
|
begin
|
||||||
IOStatus:=(-ExecuteResult) and $7f;
|
IOStatus:=(-ExecuteResult) and $7f;
|
||||||
|
Loading…
Reference in New Issue
Block a user