Re: RedyCode 1.0.dev preview
- Posted by ryanj Oct 07, 2016
- 2174 views
ne1uno said...
petelomax said...
ne1uno said...
that error 31 popup when I try to open a terminal is:
0x1F "A device attached to the system is not functioning"
I'll have to write a simple demo to see why it happens. guessing it should be opening "cmd.exe" instead of "cmd" in Xp
Maybe you should use the ComSpec environment variable?
that looks like the way to go. it returns the full path to cmd or any other command prompt someone sets as their default. bash, powershell whatever.
getenv("COMSPEC")
Thanks for the suggestion. I tried it, and it works.