Normally when running npm run tauri dev. The Command::new that I do doesn't open a command line window. Since I'm basically calling httpd.exe which after building my app now has a visible command line window, which should not be there.
My main.rs does have this line:
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
I got this from a GH Issue #204.
I'm basically spawning an httpd instance (Apache) and want that to be executed silently in the background similar to when I'm running via npm run tauri dev.
I hope that makes sense?