Function is_launched_from_gui
pub fn is_launched_from_gui<W: WindowsApi>(windows_api: &W) -> boolExpand description
Detect if application was launched from Windows Explorer (GUI) vs command line using the provided console API.
Returns true if launched from GUI (separate console), false if from existing console. Based on: https://stackoverflow.com/a/513574
§Arguments
windows_api- Windows API operations implementation
§Returns
true- Application was launched from GUI (Explorer, double-click, etc.)false- Application was launched from existing console (command line)