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.
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?