The new std.process is ready for review

Steven Schveighoffer schveiguy at yahoo.com
Tue Feb 26 06:08:38 PST 2013


On Tue, 26 Feb 2013 07:20:51 -0500, Vladimir Panteleev  
<vladimir at thecybershadow.net> wrote:

> On Tuesday, 26 February 2013 at 07:17:49 UTC, Lars T. Kyllingstad wrote:

>> 4. I would design it so that if I do browse("foo.txt") it opens foo.txt  
>> in the web browser.  Correct me if I'm wrong, but it currently seems  
>> that it will open it in the user's text editor on Windows.  (On POSIX  
>> systems, too, if $BROWSER isn't set.)
>
> I don't know how you would accomplish that on Windows, without accessing  
> the association in the OS registry for e.g. the http protocol. Might be  
> better to change the documentation instead.

shell("start foo.txt");

At least, I think this would work ;)

-Steve


More information about the Digitalmars-d mailing list