• 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: Jim Balhoff <email@hidden>
  • Date: Mon, 25 Mar 2002 16:08:00 -0500

On Monday, March 25, 2002, at 03:41 PM, Ondra Cada wrote:

On Monday, March 25, 2002, at 05:26 , Alberto wrote:

But anybody know how to solve this? How to make Cocoa Apps set the correct
cwd (the path where app really is).

First learn what cwd (current working directory) is and how it differs from the path where app really is (many people including me have written that to you here).

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?

Jim
_______________________________________________
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.

  • Follow-Ups:
    • Re: Problems running UNIX Apps in Cocoa GUI
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Problems running UNIX Apps in Cocoa GUI (From: Ondra Cada <email@hidden>)

  • Prev by Date: FW: How to change path where Cocoa App is runnin?
  • 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