Add --new-session to bwrap invocation
This commit is contained in:
@@ -43,6 +43,7 @@ pub fn build_command(config: &SandboxConfig) -> Result<Command, SandboxError> {
|
||||
add_ro_bind(&mut cmd, path)?;
|
||||
}
|
||||
|
||||
cmd.arg("--new-session");
|
||||
cmd.arg("--die-with-parent");
|
||||
cmd.arg("--chdir").arg(&config.chdir);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user