• 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
Executing A Shell Script...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Executing A Shell Script...


  • Subject: Executing A Shell Script...
  • From: Albert Atkinson <email@hidden>
  • Date: Fri, 30 Aug 2002 08:13:55 -0500

Greetings!

I was wondering if there was any way to execute a shell script from
Cocoa? I know in AppleScript you can do:

do shell script ("cd PATH/TO/FOLDER")

And it will execute that script without launching the Terminal or
anything like that. Is there a method in Cocoa for doing this? Like:

[MyShellScript do: @"cd PATH/TO/FOLDER"];

??? Thanks for your help in advance!

Albert
_______________________________________________
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: Executing A Shell Script...
      • From: Rhon Fitzwater <email@hidden>
  • Prev by Date: Re: Tracking files the right way
  • Next by Date: Re: Executing A Shell Script...
  • Previous by thread: Re: Make a window intercept key events
  • Next by thread: Re: Executing A Shell Script...
  • Index(es):
    • Date
    • Thread