Re: starting an app with execve()
Re: starting an app with execve()
- Subject: Re: starting an app with execve()
- From: Sherm Pendley <email@hidden>
- Date: Wed, 23 Jun 2004 17:54:56 -0400
On Jun 23, 2004, at 7:26 AM, Devon E Bowen wrote:
The process that I'm starting is the same as the process that is doing
the starting. In other words, a program is restarting itself. Since
I never change the working directory, the current directory is already
correct unless Cocoa messes with it for some odd reason.
For an app that's started from Finder, the cwd is always "/". So you'll
need to either change it (this is how PB/Xcode launches an app), or
specify the full path to the executable (how Finder launches it).
sherm--
_______________________________________________
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.