Skip to main content

Module process

Module process 

Source
Expand description

Low-level async process management utilities.

Enums§

ProcessError
Errors that can occur during process operations.
ProcessStatus
Current status of a running process.

Functions§

capture_exit_status
Asynchronously capture the exit status of a child process.
get_process_status
Asynchronously check process status without blocking.
spawn_process
Spawn a new async process with piped stdout and stderr.
stop_child
Asynchronously terminate a child process.
wait_child
Asynchronously wait for a child process with cancellation support.