소스 검색

* replaced deprecated shell by fpsystem.

git-svn-id: trunk@21327 -
marco 13 년 전
부모
커밋
7ae1db2e01
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;