• 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: Using shell commands in an application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using shell commands in an application


  • Subject: Re: Using shell commands in an application
  • From: Cameron Hayne <email@hidden>
  • Date: Fri, 5 Jul 2002 04:17:57 -0400

On Friday, July 5, 2002, at 04:02 am, Arthur VIGAN wrote:
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.

It would be better to have the script take the directory as a parameter.
But a simple solution might be to just change the shell script to do the 'cd' before it starts.

... Cameron
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
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: 
 >Using shell commands in an application (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: FileMaker Cocoa dev-list?
  • Next by Date: [ANN] AccessorGenerator 1.5
  • Previous by thread: Using shell commands in an application
  • Next by thread: Re: Using shell commands in an application
  • Index(es):
    • Date
    • Thread