usewindows::Win32::System::Console::ATTACH_PARENT_PROCESS;usewindows::Win32::System::Console::AttachConsole;pubfnattach_to_console(){// Attach to parent console tip found here: https://github.com/rust-lang/rust/issues/67159#issuecomment-987882771
unsafe{
AttachConsole(ATTACH_PARENT_PROCESS).ok();}}