Re: starting an app with execve()
Re: starting an app with execve()
- Subject: Re: starting an app with execve()
- From: Allan Odgaard <email@hidden>
- Date: Wed, 23 Jun 2004 13:18:10 +0200
On 23. Jun 2004, at 12:52, Devon E Bowen wrote:
To answer my own questions... The argv[0] has to be set to the full
path of the executable. Apparently, this is where Cocoa gets its
bundle path info from. When I changed this it worked fine.
Cd'ing to the dir should also work. I would recommend this because
otherwise I believe the full path will show up as the process name, and
further, embedded frameworks are loaded relative to the executable
path, i.e. "../../Resources/Frameworks/". But I don't know how flexible
the system is, maybe it still work...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.