On 5 Mar 2007, at 17:14, Xavier Glattard wrote:

Hi

On my MinGW/WinXP system i have to add '.exe' to the name of the application
when I use 'defaults' ie :

  defaults write Gorm.exe GSBackend win32ng

'Gorm' without '.exe' is ok (i can get the value back with defaults) but the
settings 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.


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to