pub trait ShellCommandTrait: Send + Sync { // Required methods fn kill(&self); fn cleanup(&self); }
Trait for shell command operations (to avoid tying to a specific implementation).