Handbook
Glossary
fork-process ( process -- pid )
Vocabulary
io
.
launcher
.
unix
Inputs
process
an
object
Outputs
pid
an
object
Definition
USING:
continuations
io.files.private
io.pathnames
kernel
namespaces
unix
unix.process
;
IN:
io.launcher.unix
:
fork-process
( process -- pid )
[
reset-ignored-signals
]
[
2drop
248
_exit
]
recover
[
setup-process-group
]
[
2drop
249
_exit
]
recover
[
setup-priority
]
[
2drop
250
_exit
]
recover
[
setup-redirection
]
[
2drop
251
_exit
]
recover
[
current-directory
get
cd
]
[
2drop
252
_exit
]
recover
[
setup-environment
]
[
2drop
253
_exit
]
recover
[
get-arguments
exec-args-with-path
]
[
2drop
254
_exit
]
recover
255
_exit
f
throw
;