Browse Source

* replaced deprecated shell by fpsystem.

git-svn-id: trunk@21327 -
marco 13 năm trước cách đây
mục cha
commit
7ae1db2e01
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;