pub fn new_base(cwd: String, user: User) -> Process {
        Process {
            user,
            cwd,
            terminal: None,
            console_size: None,
            args: Vec::new(),
            env: None,
            capabilities: None,
            rlimits: None,
            no_new_privileges: None,
            apparmor_profile: None,
            oom_score_adj: None,
            selinux_label: None,
        }
    }
/// Create a new [Process] with all Optional fields set to None
Create a new [Process] with all Optional fields set to None
Create a new [ Process ] with all Optional fields set to None
pub fn new_base(cwd: String, user: User) -> Process {
        Process {
            user,
            cwd,
            terminal: None,
            console_size: None,
            args: Vec::new(),
            env: None,
            capabilities: None,
            rlimits: None,
            no_new_privileges: None,
            apparmor_profile: None,
            oom_score_adj: None,
            selinux_label: None,
        }
    }
pub fn new_base ( cwd : String , user : User ) -> Process { Process { user , cwd , terminal : None , console_size : None , args : Vec :: new ( ) , env : None , capabilities : None , rlimits : None , no_new_privileges : None , apparmor_profile : None , oom_score_adj : None , selinux_label : None , } }
Create a new [Process] with all Optional fields set to None
Create a new [ Process ] with all Optional fields set to None
cwd
String
user
User
cwd
String
user
User