Add --new-session to bwrap invocation

This commit is contained in:
2026-03-25 22:15:21 +01:00
parent 9f82ca21ee
commit dccf2309a5
2 changed files with 34 additions and 0 deletions

View File

@@ -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);