Windows - runInTerminal doesn't work
jcward opened this issue · comments
Jeff Ward commented
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.
Nicolas Cannasse commented
You need something called AllocConsole()
Jeff Ward commented
Thanks for the pointer @ncannasse, I'll check that out.