• 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: Unix Commands
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unix Commands


  • Subject: Re: Unix Commands
  • From: David McCabe <email@hidden>
  • Date: Thu, 1 Nov 2001 16:48:11 -0800

Try CocoaShell.

<http://www.cfcl.com/~incomingsw/products/cocoashell/index.shtml>

On Thursday, November 1, 2001, at 10:50 AM, Luke Sands wrote:

Cocoa Developers,

How do you wrap a 'simple' unix command like 'whoami' or 'cd /dev/cu.modem' for example?
I've seen a few examples of complicated wrappers but I want something simple and small, when I worked in realbasic it was as simple as:

Dim myShell as shell
myshell.execute-"whoami"

Surely there's a really simple way to do it in cocoa?

Luke.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


--
David McCabe
http://homepage.mac.com/davidmccabe/
'finger email@hidden' for PGP key.
No PGP sig because it's broken. Will fix soon.
Wrfhf ybirf lbh!


References: 
 >Unix Commands (From: Luke Sands <email@hidden>)

  • Prev by Date: Re: Accessing NetInfo from Cocoa
  • Next by Date: RE: What's up with MiscKit?
  • Previous by thread: Re: Unix Commands
  • Next by thread: Still confused about thread priorities
  • Index(es):
    • Date
    • Thread