Skip to main content

CommandFgControlExt

Trait CommandFgControlExt 

Source
pub trait CommandFgControlExt {
    // Required methods
    fn take_foreground(&mut self);
    fn lead_session(&mut self);
}
Available on Unix only.
Expand description

Extension trait for arranging for commands to take the foreground.

Required Methods§

Source

fn take_foreground(&mut self)

Arranges for the command to take the foreground when it is executed.

Source

fn lead_session(&mut self)

Arranges for the command to become a session leader when it is executed.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl CommandFgControlExt for Command

Implementors§