Skip to main content

Module executor

Module executor 

Source
Expand description

Execute commands using tokio

Structs§

ExecutionResult
Command execution result
ProcessHandle
Process handle for non-blocking command execution

Functions§

execute_command
Execute a command and return the result
execute_detached
Execute a command in the background (detached)
setup_signal_handler
Setup CTRL+C handler for graceful shutdown
start_command
Start a command execution without waiting for completion

Type Aliases§

CleanupFn
Signal handler cleanup function type