• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to control relative paths in Unix task?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >How to control relative paths in Unix task? (From: John Nairn <email@hidden>)

  • Prev by Date: [Q] Removing TabView shadows ...
  • Next by Date: Re: Freezes and crashes
  • Previous by thread: Re: How to control relative paths in Unix task?
  • Next by thread: Re: How to control relative paths in Unix task?
  • Index(es):
    • Date
    • Thread