@Nathan Rajlich: npm was a great pointer! I’m working on a module that
uses npm’s technique to achieve the same thing. Works great on OS X
already. Alas, one has to check process.platform, which is not ideal.
IMHO, npm proves my point that Node.js is awesome for shell
programming.

On Feb 25, 2:24 am, Nathan Rajlich <[email protected]> wrote:
> npm does this but unfortunately these's no cross-platform sure-fire way to
> do it. I believe npm has specific things it does to open the url in a web
> browser for each platform (on osx it invokes `open`, on linux
> `x-www-browser`, etc.)
>
> It may be a good idea for someone to extract that logic into a standalone
> module...

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to