Crate oxdock_process

Crate oxdock_process 

Source

Structs§

ChildHandle
CommandBuilder
Builder wrapper that centralizes direct usages of std::process::Command.
CommandContext
Context passed to process managers describing the current execution environment. Clones are cheap and explicit so background handles can own their working roots without juggling lifetimes.
CommandOutput
CommandSnapshot
ShellLauncher
ShellProcessManager
Default process manager that shells out using the system shell.

Traits§

BackgroundHandle
Handle for background processes spawned by a ProcessManager.
ProcessManager
Abstraction for running shell commands both in the foreground and background. oxdock-core relies on this trait to decouple the executor from std::process::Command, which in turn enables Miri-friendly test doubles.

Functions§

default_process_manager
shell_program

Type Aliases§

DefaultProcessManager