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

Unix Commands


  • Subject: Unix Commands
  • From: Luke Sands <email@hidden>
  • Date: Thu, 1 Nov 2001 18:50:07 +0000

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.


  • Follow-Ups:
    • Re: Unix Commands
      • From: David McCabe <email@hidden>
    • Re: Unix Commands
      • From: Markus Hitter <email@hidden>
    • Re: Unix Commands
      • From: Drew McCormack <email@hidden>
  • Prev by Date: Re: Book
  • Next by Date: Still confused about thread priorities
  • Previous by thread: Re: Deleting an Outlet (member variable)
  • Next by thread: Re: Unix Commands
  • Index(es):
    • Date
    • Thread