]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix io.launcher.windows.nt test when run from factor.exe
authorU-SLAVA-DFB8FF805\Slava <Slava@slava-dfb8ff805.(none)>
Wed, 28 Jan 2009 07:58:03 +0000 (01:58 -0600)
committerU-SLAVA-DFB8FF805\Slava <Slava@slava-dfb8ff805.(none)>
Wed, 28 Jan 2009 07:58:03 +0000 (01:58 -0600)
basis/io/launcher/windows/nt/nt-tests.factor [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 4dd0eeb..0420236
@@ -37,11 +37,12 @@ IN: io.launcher.windows.nt.tests
     "out.txt" temp-file ascii file-lines first
 ] unit-test
 
-[ ] [
+[ "( scratchpad ) " ] [
     <process>
         console-vm "-run=listener" 2array >>command
         +closed+ >>stdin
-    try-process
+        +stdout+ >>stderr
+    ascii [ input-stream get contents ] with-process-reader
 ] unit-test
 
 : launcher-test-path ( -- str )
@@ -162,3 +163,5 @@ IN: io.launcher.windows.nt.tests
    
     "append-test" temp-file ascii file-contents
 ] unit-test
+
+