Opening browser and url.

Bauss via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 25 07:02:38 PDT 2015


In other programming languages you can open a website in the 
default browser by spawning a process using the url, but it does 
not seem to work with D using spawnProcess().

Do I have to do API calls to get the default browser and then 
call spawnProcess() with the url as an argument or is there a 
standard D way.

I tried it like the following
spawnProcess("http://www.x.x/");


More information about the Digitalmars-d-learn mailing list