sindresorhus/opn
Do you want to work on this issue?
You can request for a bounty in order to promote it!
target bat file not opening when app argument defined as cmd (windows 10) #67
neilmahaseth posted onGitHub
This works opn('H:\command.bat');
but this just opens a command prompt without executing the the target bat file.
opn('H:\command.bat', {app: 'cmd'});
Tested on windows 10