Diagnose script hang (vibe-kanban) (#1112)
* Done! Applied the fix to [script.rs](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/1761-diagnose-script/crates/executors/src/actions/script.rs):
1. Added `.stdin(std::process::Stdio::null())` - closes stdin so docker compose exec won't wait for input
2. Added `.env("COMPOSE_INTERACTIVE_NO_CLI", "1")` - tells Docker Compose to disable interactive mode
This should fix the hang in production builds. The script will now run in fully non-interactive mode regardless of whether it has a TTY.
* no docker
This commit is contained in:
committed by
GitHub
parent
074199f2d2
commit
a70a7bfbad
@@ -43,6 +43,7 @@ impl Executable for ScriptRequest {
|
||||
let mut command = Command::new(shell_cmd);
|
||||
command
|
||||
.kill_on_drop(true)
|
||||
.stdin(std::process::Stdio::null())
|
||||
.stdout(std::process::Stdio::piped())
|
||||
.stderr(std::process::Stdio::piped())
|
||||
.arg(shell_arg)
|
||||
|
||||
Reference in New Issue
Block a user