Browse Source

* so far windows only

git-svn-id: trunk@18248 -
florian 14 years ago
parent
commit
d7708a45f1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tests/webtbs/tw19851b.pp

+ 3 - 1
tests/webtbs/tw19851b.pp

@@ -2,5 +2,7 @@ uses
   sysutils;
 
 begin
-  executeprocess('cmd.exe','/c echo abcdefghijklmnopqrstuvwxyz1 | tw19851a');
+{$ifdef WINDOWS}
+  executeprocess(GetEnvironmentVariable('COMSPEC'),'/c echo abcdefghijklmnopqrstuvwxyz1 | tw19851a');
+{$endif WINDOWS}
 end.