• 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: NSTask not using arguments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask not using arguments?


  • Subject: Re: NSTask not using arguments?
  • From: Andy Armstrong <email@hidden>
  • Date: Thu, 24 Feb 2005 22:32:22 +0000

On 24 Feb 2005, at 21:56, Sherm Pendley wrote:
The other alternative is to launch /bin/sh as your task, and pass it two arguments: "-c" as the first, and the entire command you want to execute (globs and redirects included) as the second.

Bearing in mind to quote and escape any arguments to correctly handle filenames with spaces in them...


--
Andy Armstrong, hexten.net

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSTask not using arguments? (From: <email@hidden>)
 >Re: NSTask not using arguments? (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: affine transformation of bitmap images
  • Next by Date: Re: NSPopUpButton item size
  • Previous by thread: Re: NSTask not using arguments?
  • Next by thread: Re: NSTask not using arguments?
  • Index(es):
    • Date
    • Thread