run.qml not working (Windows)
I can't get run.qml to show the console dialog. Some other plugins I've tried didn't show the console, either. In run.qml specifically there is something wrong with the 'proc.start("cmd.exe /c dir");' line, because when I commented it out and tried 'proc.start("notepad");' I got the expected behavior.
Comments
It does work, it does create output in the console (if run in the Plugin Editor):
It does indeed do nothing visible if run via Plugins > run, but that isn't to be expected, not with that
proc.start("cmd.exe /c dir");
, and esp. with thatconsole.log(proc.readAllStandardOutput());
Actually your
proc.start("notepad");
doesn't really work. Yes, it does start notpad, but MuseScore then hangs, at least until notepad exits. To me that is at least as unexpected as the current behavoir is to you.OTH that plugin is not supposed to do something useful, it is meant as an example how thing might get done.