* replaced deprecated shell by fpsystem.

git-svn-id: trunk@21327 -
This commit is contained in:
marco 2012-05-19 09:00:37 +00:00
parent 3d03e2d76b
commit 7ae1db2e01

View File

@ -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;