Handbook
Glossary
process
Operating system processes
ยป
The process lifecycle
Next:
<process> ( -- process )
Vocabulary
io
.
launcher
Class description
A class representing a process. Instances are created by calling
<process>
.
Definition
USING:
kernel
;
IN:
io.launcher
TUPLE:
process
<
identity-tuple
command detached hidden environment environment-mode stdin
stdout stderr priority group timeout handle status killed
pipe
;
Methods
USING:
io.launcher
kernel
;
M:
process
>process
dup
process-started?
[
process-already-started
]
when
clone
;
USING:
io.launcher
io.timeouts
;
M:
process
cancel-operation
kill-process
;
USING:
accessors
elevate.private
io.launcher
kernel
math
;
M:
process
failed-process?
status>>
zero?
not
;
USING:
accessors
io.launcher
io.timeouts
;
M:
process
set-timeout
timeout<<
;
USING:
accessors
io.launcher
io.timeouts
;
M:
process
timeout
timeout>>
;
USING:
io.launcher
kernel
;
M:
process
wait-for-success
dup
wait-for-process
check-success
;