Re: Using shell commands in an application
Re: Using shell commands in an application
- Subject: Re: Using shell commands in an application
- From: Koen van der Drift <email@hidden>
- Date: Fri, 05 Jul 2002 08:21:34 -0400
At 10:02 AM 7/5/2002 +0200, Arthur VIGAN wrote:
Hi,
My application needs to use some shells commands to works: the aim is to
launch a shell script, but for that script to work, I have to be in the
directory where it is (I can't use /Users/arthur/aFolder/mySript to
execute).
Did you look at Moriarty? "This sample shows how to implement a Cocoa GUI
that wraps command-line functionality, calling out to a UNIX task and
presenting the results in the GUI to the user."
http://developer.apple.com/samplecode/Sample_Code/Cocoa/Moriarity.htm
- Koen.
_______________________________________________
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.