2
0
Эх сурвалжийг харах

* replaced deprecated shell by fpsystem.

git-svn-id: trunk@21327 -
marco 13 жил өмнө
parent
commit
7ae1db2e01

+ 1 - 1
tests/utils/redir.pp

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