That's not what the OP is asking about Mark. He's trying to open a given
URL in the OS's web browser.

On Fri, Feb 24, 2012 at 5:53 PM, Mark Hahn <[email protected]> wrote:

> Check out the "request" module by Mikeal.
>
>
> On Fri, Feb 24, 2012 at 5:24 PM, 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...
>>
>>
>> On Fri, Feb 24, 2012 at 5:17 PM, mscdex <[email protected]> wrote:
>>
>>> On Feb 24, 8:15 pm, rauschma <[email protected]> wrote:
>>> > I am aware that this functionality is not really a good fit for
>>> > Node.js as a server environment, but am finding that JavaScript shell
>>> > scripting is a great gateway drug for Node.js adoption. And for that
>>> > use case, opening URLs is tremendously useful.
>>>
>>> What kind of behavior/functionality are you envisioning here for node?
>>>
>>> --
>>> 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
>>
>
>  --
> 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

Reply via email to