bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About defaults tool on Windows


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:

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]