]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/files/windows/windows.factor
Support stdio streams (#2204)
[factor.git] / basis / io / files / windows / windows.factor
index d7c848f23fdabe872b8387f76da45ba8e96de2df..22eb1b5f6142a604fb4c35317a3887fe2a53cc8f 100644 (file)
@@ -227,9 +227,7 @@ M: windows wait-for-fd
 : console-app? ( -- ? ) GetConsoleWindow >boolean ;
 
 M: windows init-stdio
-    console-app?
-    [ init-c-stdio ]
-    [ null-reader null-writer null-writer set-stdio ] if ;
+    init-c-stdio ; ! use inherited handles from parent process
 
 : open-file ( path access-mode create-mode flags -- handle )
     [