Re: Current Working Directory Changes
Re: Current Working Directory Changes
- Subject: Re: Current Working Directory Changes
- From: "John C. Randolph" <email@hidden>
- Date: Mon, 24 Feb 2003 13:28:00 -0800
On Monday, February 24, 2003, at 06:54 AM, David Lee wrote:
Hi all,
When I am working from within Project Builder and I run my Cocoa
application the current working directory is set to the build directory
of my project folder, however when I run my application from the build
directory in the Finder, the current working directory is set to Mac OS
X's root directory '/''. Even if I call chdir("desired path") the
current working directory still comes out as '/'. What is going on here
and how do I specify what I want the current working directory to be?
Generally speaking, Cocoa apps shouldn't care what the CWD is. What is
it you're trying to do?
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.