in reply to Closing console window in Windows

Launch the program via start. IIRC, one of the options avoids the creation of a console.

Update: start /wait /b (for background). There's also start /wait /min if you want the window minimised instead of absent.