From: nomennescio Date: Sun, 3 Sep 2023 03:14:32 +0000 (+0100) Subject: Support stdio streams (#2204) X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=943b4b47e714434eb1ef97d0981cf0163052a2ee Support stdio streams (#2204) --- diff --git a/basis/io/files/windows/windows.factor b/basis/io/files/windows/windows.factor index d7c848f23f..22eb1b5f61 100644 --- a/basis/io/files/windows/windows.factor +++ b/basis/io/files/windows/windows.factor @@ -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 ) [