• 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: Wrapping unix commands
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrapping unix commands


  • Subject: Re: Wrapping unix commands
  • From: David Remahl <email@hidden>
  • Date: Thu, 01 Nov 2001 20:47:21 +0100

> 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.

Search the archives for NSPort. In fact, the question was asked yesterday
and answered as well...There is plenty of documentation on it as well.

/ david


  • Follow-Ups:
    • Re: Wrapping unix commands
      • From: John Hörnkvist <email@hidden>
References: 
 >Wrapping unix commands (From: Luke Sands <email@hidden>)

  • Prev by Date: Re: Unix Commands
  • Next by Date: Re: Wrapping unix commands
  • Previous by thread: Wrapping unix commands
  • Next by thread: Re: Wrapping unix commands
  • Index(es):
    • Date
    • Thread