lutra_proc::spawn_detached starts a program through CreateProcessW with bInheritHandles = FALSE and null standard handles (DETACHED_PROCESS | CREATE_NEW_PROCESS_GROUP as before), so lutra's output pipe closes when lutra exits. launch.rs uses it. Helper roles detached-plain/-proc show the standard library keeping the pipe open and spawn_detached not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
593 B
TOML
31 lines
593 B
TOML
[package]
|
|
name = "lutra-cli"
|
|
description = "The lutra command-line tool"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
publish.workspace = true
|
|
|
|
[package.metadata.lutra]
|
|
layer = 6
|
|
|
|
[[bin]]
|
|
name = "lutra"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
lutra-control.workspace = true
|
|
lutra-mcp.workspace = true
|
|
lutra-proc.workspace = true
|
|
serde_json = "1.0.154"
|
|
|
|
[dev-dependencies]
|
|
lutra-engine.workspace = true
|
|
lutra-testkit.workspace = true
|
|
proptest.workspace = true
|
|
tempfile.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|