How to open a webpage in D?

Taylor Hillegeist via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 31 15:31:47 PDT 2015


On Monday, 31 August 2015 at 22:24:28 UTC, Adam D. Ruppe wrote:
> On Monday, 31 August 2015 at 22:21:20 UTC, Taylor Hillegeist 
> wrote:
>> I thought that perhaps spawing a process would work but
>
> Try the browse function from std.process:
>
> http://dlang.org/phobos/std_process.html#browse
>
> What it does is execute a browser process with the given 
> argument. I think a filename will work as well as a url.

Browse is obviously the coolest solution. :)


More information about the Digitalmars-d-learn mailing list