When you some programs like Windiff, the window comes up, and control is immediately resumed on the command line.

I want to do the same thing with my Winform-based application.  Note however, I need to control *when* this occurs, because it must be able to read input from stdin and write to stdout up to the point where I want to detach.

I know when you set the SUBSYSTEM linker setting to WINDOWS, it'll detach, but then I'm not interacting with the Console.  I am looking for both worlds here.
 
Does anyone know how to accomplish this?

Thanks,
Brian