vscode-hxcpp-debug
vscode-hxcpp-debug copied to clipboard
Windows - runInTerminal doesn't work
I have a feature called runInTerminal
which is supposed to launch a separate terminal window for your app (in case you want to debug a CLI, but still need to interact with the stdin/stdout of your app.) This works in Ubuntu with gnome-terminal
, mac with open
, and I have a command with start /wait cmd /C ...
that seems to do what I want from a cmd prompt, but not when launched by Sys.process. Here's the runInTerminal code.
You need something called AllocConsole()
http://www.halcyon.com/~ast/dload/guicon.htm
Thanks for the pointer @ncannasse, I'll check that out.