Re: Problems running UNIX Apps in Cocoa GUI
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.