rust_cmd_lib
rust_cmd_lib copied to clipboard
How can one spawn a process without opening up a window?
I'm compiling my exe with #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
an issue I've noticed that whenever I trigger a new command it opens up a new window.
I've used Process before where I could've just pass a flag to creation_flags which indicates to not spawn a new window.
is there a solution for cmd_lib?
I don't have windows dev machine, but I guess to fix it you can just pass extra flags when calling Command::new in process.rs. Patch is also welcome.