- public bool spawn_async_with_pipes (string? working_directory, string[] argv, string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid, out int standard_input = null, out int standard_output = null, out int standard_error = null) throws SpawnError
Executes a child program asynchronously (your program will not block
waiting for the child to exit).
- public bool spawn_async (string? working_directory, string[] argv, string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid) throws SpawnError
- public bool spawn_sync (string? working_directory, string[] argv, string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out string standard_output = null, out string standard_error = null, out int exit_status = null) throws SpawnError
Executes a child synchronously (waits for the child to exit before
returning).
- public bool spawn_command_line_async (string command_line) throws SpawnError
- public bool spawn_command_line_sync (string command_line, out string standard_output = null, out string standard_error = null, out int exit_status = null) throws SpawnError
A simple version of
spawn_sync with little-used parameters removed, taking a command line
instead of an argument vector.
- public void close_pid (Pid pid)
On some platforms, notably Windows, the
Pid type represents a resource which must be closed to prevent resource leaking.
- public bool check_exit_status (int exit_status) throws Error
Set throws if exit_status
indicates the child exited abnormally (e.
- public bool if_exited (int status)
- public int exit_status (int status)
- public bool if_signaled (int status)
- public ProcessSignal term_sig (int status)
- public bool core_dump (int status)
- public bool if_stopped (int status)
- public ProcessSignal stop_sig (int status)
- public bool if_continued (int status)
- public void abort ()
- public void exit (int status)
- public int raise (ProcessSignal sig)
- public SignalHandlerFunc @signal (ProcessSignal signum, SignalHandlerFunc handler)