Thread overview | ||||||
---|---|---|---|---|---|---|
|
February 09, 2020 [Issue 20571] spawnProcess does not find .bat files | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20571 Jonathan Marler <johnnymarler@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |All -- |
October 31, 2022 [Issue 20571] spawnProcess does not find .bat files | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20571 torhu@yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |torhu@yahoo.com --- Comment #1 from torhu@yahoo.com --- Since batch files are not executables, but interpreted by cmd.exe, you need to use spawnShell instead. Or are you suggesting that files with extensions in PATHEXT should be treated in a similar way to Linux shell scripts with shebang lines in them? It's a bit messy to implement that. The Windows ShellExecuteW function will run non-executables, but it doesn't allow you to set environment variables. So it's not a generic replacement for CreateProcessW. -- |
October 31, 2022 [Issue 20571] spawnProcess does not find .bat files | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20571 --- Comment #2 from torhu@yahoo.com --- Nevermind, I see what you mean now. spawnProcess will run batch files, but it won't find them unless the .bat extension is included. -- |
December 17, 2022 [Issue 20571] spawnProcess does not find .bat files | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20571 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 -- |
Copyright © 1999-2021 by the D Language Foundation