io.launcher: hide processes created by (process-stream)

char-rename
Alexander Iljin 2016-06-30 01:26:11 +03:00 committed by John Benediktsson
parent 85710ced87
commit c822395597
2 changed files with 5 additions and 1 deletions

View File

@ -255,7 +255,7 @@ PRIVATE>
(pipe) |dispose
(pipe) |dispose {
[
rot >process
rot >process t >>hidden
[ swap in>> or ] change-stdin
[ swap out>> or ] change-stdout
run-detached

View File

@ -224,6 +224,10 @@ SYMBOLS: out-path err-path ;
out-path get-global utf8 file-contents
] unit-test
{ t "This is a hidden process.\r\n" } [
"cmd /c echo.This is a hidden process." utf8 (process-stream) hidden>> swap stream-contents
] unit-test
[ "IN: scratchpad " ] [
console-vm-path "-run=listener" 2array
ascii [ "USE: system 0 exit" print flush lines last ] with-process-stream