The --man flag to open a man page in the browser doesn't work at all.
You can open a url in the default browser with this magic code:
import std.c.windows.windows;
extern(Windows) {
HINSTANCE ShellExecuteW(HWND,const LPWSTR, const LPWSTR, const
LPWSTR, const LPWSTR,INT);
}
void main()
{
HINSTANCE hr = ShellExecuteW(null, "open"w.ptr,
"http://www.digitalmars.com/d"w.ptr, null, null, SW_SHOWNORMAL);
}
Info about the hr return value can be found here for adding more info on failure:
http://msdn.microsoft.com/en-us/library/bb762153%28VS.85%29.aspx
Comment #1 by andrei — 2011-06-05T16:21:04Z
Putting this issue up for grabs. Has it been fixed yet?
Comment #2 by andrej.mitrovich — 2012-10-21T19:20:37Z