[Issue 2771] New: browse() fails if Safari is renamed or moved.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 29 19:55:08 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2771
Summary: browse() fails if Safari is renamed or moved.
Product: D
Version: 2.026
Platform: Macintosh
OS/Version: Mac OS X
Status: NEW
Severity: minor
Priority: P4
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: unknown at simplemachines.org
For categorization purposes, users on Macs may rename or move Safari.app from
/Applications - it can even be uninstalled, if the user prefers another
browser.
For example, I have multiple versions of Safari (and other browsers) on my test
Mac, in /Applications/Browsers.
The open command doesn't require an application argument. Also, the argument
need not be a full path, it can be just a name (such as "Safari", rather than
"/path/to/Bundle.app".)
My suggestion would be to simply pass the path to open directly, and let it use
the user's prefered browser. This seems to be the behavior on Windows and
Linux.
-[Unknown]
--
More information about the Digitalmars-d-bugs
mailing list