mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-02 03:22:37 +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) }
|
||||
{$ifdef UNIX}
|
||||
IOStatus:=0;
|
||||
ExecuteResult:=Shell(FixPath(Progname)+' '+Comline);
|
||||
ExecuteResult:=fpsystem(FixPath(Progname)+' '+Comline);
|
||||
if ExecuteResult<0 then
|
||||
begin
|
||||
IOStatus:=(-ExecuteResult) and $7f;
|
||||
|
Loading…
Reference in New Issue
Block a user