From 084c3cac3d52f9e73e52716311e1b9f56bc2402d Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Fri, 4 Sep 2009 21:59:11 -0500 Subject: [PATCH] io.launcher.windows.nt: make tests more robust --- basis/io/launcher/windows/nt/nt-tests.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/io/launcher/windows/nt/nt-tests.factor b/basis/io/launcher/windows/nt/nt-tests.factor index f57f7b6d47..85999a89f7 100755 --- a/basis/io/launcher/windows/nt/nt-tests.factor +++ b/basis/io/launcher/windows/nt/nt-tests.factor @@ -42,7 +42,7 @@ IN: io.launcher.windows.nt.tests console-vm "-run=listener" 2array >>command +closed+ >>stdin +stdout+ >>stderr - ascii [ contents ] with-process-reader + ascii [ lines last ] with-process-reader ] unit-test : launcher-test-path ( -- str ) @@ -166,7 +166,7 @@ IN: io.launcher.windows.nt.tests [ "( scratchpad ) " ] [ console-vm "-run=listener" 2array - ascii [ "USE: system 0 exit" print flush readln ] with-process-stream + ascii [ "USE: system 0 exit" print flush lines last ] with-process-stream ] unit-test [ ] [