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

Any way to pass arguments? #35

Closed xlozinguez closed 9 years ago

xlozinguez commented 9 years ago

I wanted to see if there is any chance one could pass arguments to the open function such as: open -a Google\ Chrome --args --disable-web-security?

pwnall commented 9 years ago

The main point of node-open is that it opens a document in whatever program the user has configured. It seems like you're targeting a very specific program (Chrome), so you might as well spawn it directly.