Tweak environment variable passed to extools

This commit is contained in:
Tad Hardesty 2019-12-04 21:18:29 -08:00
parent 410e66d734
commit 266e4a8fe0

View file

@ -38,10 +38,12 @@ impl Launched {
command
.arg(dmb)
.arg("-trusted")
.env("SPACEMANDMM_LAUNCHING", format!("debug={}", debug))
.stdin(Stdio::null())
.stdout(Stdio::null())
.stderr(Stdio::null());
if debug {
command.env("EXTOOLS_DEBUG", "1");
}
let mut child = command.spawn()?;
output!(in seq, "[launched] Started: {:?}", command);
let mutex = Arc::new(Mutex::new(State::Active));