12-13-2022, 06:34 PM
(12-13-2022, 05:38 PM)Pete Wrote: SHELL _HIDE _DONTWAIT "notepad " + cmd$ ' Didn't work for the app I am building, but SHELL _DONTWAIT "notepad " + cmd$ worked just fine!
But the following doesn't work?
SHELL _HIDE _DONTWAIT "start notepad " + cmd$
It's because "HIDE" attribute is being involved, while in the other one that worked it has to display a "dummy" console window which is the launch pad. This was already indicated by Kernelpanic.
To fire up an app such as Windows Notepad, "HIDE" should imply "DONTWAIT". I mean, the user would be fed up if the user program "suddenly" halts because he/she needs to quit some other program but he/she doesn't know it yet. How about using "_SHELLHIDE()" instead and checking out the value it returns?