disable process group for dotnets

This commit is contained in:
Ruben Fiszel
2025-08-13 16:46:14 +00:00
parent 569688d8bd
commit ce76b16d0c
15 changed files with 64 additions and 61 deletions

View File

@@ -518,7 +518,7 @@ async fn compile<'a>(
std::env::var("TMP").unwrap_or_else(|_| String::from("/tmp")),
);
}
start_child_process(cmd, "javac").await?
start_child_process(cmd, "javac", false).await?
};
handle_child::handle_child(
&job.id,
@@ -642,7 +642,7 @@ async fn run<'a>(
cmd.args(vec!["-classpath", &classpath, "net.script.App"]);
cmd.stdout(Stdio::piped()).stderr(Stdio::piped());
start_child_process(cmd, NSJAIL_PATH.as_str()).await?
start_child_process(cmd, NSJAIL_PATH.as_str(), false).await?
} else {
append_logs(
&job.id,
@@ -701,7 +701,7 @@ async fn run<'a>(
std::env::var("TMP").unwrap_or_else(|_| String::from("/tmp")),
);
}
start_child_process(cmd, "java").await?
start_child_process(cmd, "java", false).await?
};
handle_child::handle_child(
&job.id,