Explorar o código

* replaced deprecated shell by fpsystem.

git-svn-id: trunk@21327 -
marco %!s(int64=13) %!d(string=hai) anos
pai
achega
7ae1db2e01
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/utils/redir.pp

+ 1 - 1
tests/utils/redir.pp

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