spawn_command

Function spawn_command 

Source
pub fn spawn_command(
    pts: Option<&UnixSlavePty>,
    command: CommandBuilder,
    pre_exec: impl FnOnce(&Path) -> Result<()> + Send + Sync + 'static,
) -> Result<Pid>