• 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: Problems running UNIX Apps in Cocoa GUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems running UNIX Apps in Cocoa GUI


  • Subject: Re: Problems running UNIX Apps in Cocoa GUI
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 25 Mar 2002 22:23:27 +0100

On Monday, March 25, 2002, at 10:08 , Jim Balhoff wrote:

Then check NSFileManager documentation as for "how to set cwd" and NSBundle if you still are interested in "where it really is" (at least I'
ve wrote that to you twice).

Is this what the NSTask method setCurrentDirectoryPath: is for? Isn't he using NSTask to run his Unix app?

How could I know? ;))))

If you set cwd by NSFileManager's changeCurrentDirectoryPath:, it would work regardless: the app's code would use the new cwd just the same way as any child process.

Of course, NSTask's setCurrentDirectoryPath: would help too (for the child process only), but if he really used the thing, he was bound to notice that in documentation... at least I think so :-O
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: 
 >Re: Problems running UNIX Apps in Cocoa GUI (From: Jim Balhoff <email@hidden>)

  • Prev by Date: Re: Problems running UNIX Apps in Cocoa GUI
  • Next by Date: Re: Problems running UNIX Apps in Cocoa GUI
  • Previous by thread: Re: Problems running UNIX Apps in Cocoa GUI
  • Next by thread: Re: Problems running UNIX Apps in Cocoa GUI
  • Index(es):
    • Date
    • Thread