Handbook
Glossary
spawn-candidate? ( path -- ? )
Vocabulary
io
.
launcher
.
unix
Inputs
path
an
object
Outputs
?
an
object
Definition
USING:
continuations
io.files.info
kernel
unix.ffi
;
IN:
io.launcher.unix
:
spawn-candidate?
( path -- ? )
[
dup
X_OK
access
0
=
[
directory?
not
]
[
drop
f
]
if
]
[
2drop
f
]
recover
;