object
processï
Portable process handling predicates.
Availability:
logtalk_load(process(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-02-04
Compilation flags:
static, context_switching_callsDependencies:
(none)
Remarks:
Supported backend Prolog systems: ECLiPSe, GNU Prolog, SICStus Prolog, SWI-Prolog, Trealla Prolog, and XVM.
Inherited public predicates:
(none)
Public predicatesï
create/3ï
Creates a new process from the given executable and list of arguments. Supported options are process(Pid), stdin(Stream), stdout(Stream), and stderr(Stream).
Compilation flags:
staticTemplate:
create(Executable,Arguments,Options)Mode and number of proofs:
create(+atom,+list(atom),+list(compound)) - zero_or_onewait/2ï
Waits for a process to terminate and retrieves its exit status.
Compilation flags:
staticTemplate:
wait(Process,Status)Mode and number of proofs:
wait(+process_or_pid,-integer) - zero_or_onekill/2ï
Kills the given process with the specified signal (an integer or one of the following atoms: sighup, sigint, sigkill, or sigterm).
Compilation flags:
staticTemplate:
kill(Process,Signal)Mode and number of proofs:
kill(+process_or_pid,+atom_or_integer) - zero_or_onekill/1ï
Kills the given process using the default signal (sigkill).
Compilation flags:
staticTemplate:
kill(Process)Mode and number of proofs:
kill(+process_or_pid) - zero_or_oneProtected predicatesï
(none)
Private predicatesï
(none)
Operatorsï
(none)
See also