On Fri, Feb 24, 2012 at 6:28 PM, rauschma <[email protected]> wrote:
> @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. > There's nothing wrong with using process.platform. That's what it's there for :p IMHO, npm proves my point that Node.js is awesome for shell > programming. > Indeed :) > > 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 > -- 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
