pwnall / node-open

open a file or uri with the users preferred application (browser, editor, etc), cross platform
MIT License
560 stars 57 forks source link

Open app with parameters (appName without escape) #64

Open ghost opened 7 years ago

ghost commented 7 years ago
`case 'win32':
    // if the first parameter to start is quoted, it uses that as the title
    // so we pass a blank title so we can quote the file we are opening
    if (appName) {
      opener = 'start "" ' + appName ;
    } else {
      opener = 'start ""';
    }`

it allows to : start chrome --args --auto-open-devtools-for-tabs