|
From: | Richard Frith-Macdonald |
Subject: | Re: About defaults tool on Windows |
Date: | Mon, 5 Mar 2007 17:51:19 +0000 |
On 5 Mar 2007, at 17:14, Xavier Glattard wrote:
HiOn my MinGW/WinXP system i have to add '.exe' to the name of the applicationwhen I use 'defaults' ie : defaults write Gorm.exe GSBackend win32ng'Gorm' without '.exe' is ok (i can get the value back with defaults) but thesettings are not used by the application. Is it a bug or a system dependent functionnality ? ;o)
That's a very good question ... the 'domain' for a program is its process name ... and that generally has a .exe extension on windows.
Should NSProcessInfo return the full process name (including the .exe) as the processName? I would say probably yes, since that lets us find the executable easily.
If so, should NSUserDefaults strip the .exe? I don't know.
[Prev in Thread] | Current Thread | [Next in Thread] |