Re: How to control relative paths in Unix task?
Re: How to control relative paths in Unix task?
- Subject: Re: How to control relative paths in Unix task?
- From: Aram Greenman <email@hidden>
- Date: Mon, 22 Jul 2002 16:10:48 -0700
On Monday, July 22, 2002, at 02:20 PM, John Nairn wrote:
My question: I expect the relative path used in the unix process is
building off the unix working directory and that directory is set to
the application's directory by default. How can I control that location
and thereby control how the unix process resolves relative paths when
it creates file?
If you are using an NSTask (right?), call -[NSTask
setCurrentDirectoryPath:] before you launch the task.
aram
_______________________________________________
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.