Handbook
Glossary
<process-stream> ( desc encoding -- stream )
Operating system processes
ยป
Launching processes
Prev:
<process-writer> ( desc encoding -- stream )
Next:
with-process-reader ( desc encoding quot -- )
Vocabulary
io
.
launcher
Inputs
desc
a launch descriptor
encoding
an encoding descriptor
Outputs
stream
a bidirectional stream
Word description
Launches a process and redirects its input and output via a pair of pipes which may be read and written as a stream with the given encoding.
Notes
The process is started with the
hidden
slot set to
t
.
See also
Running hidden processes
Definition
USING:
io.launcher.private
kernel
;
IN:
io.launcher
:
<process-stream>
( desc encoding -- stream )
(process-stream)
drop
;
inline