• 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: Setting a blank ("") argument in NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting a blank ("") argument in NSTask


  • Subject: Re: Setting a blank ("") argument in NSTask
  • From: Jonathon Mah <email@hidden>
  • Date: Mon, 25 Apr 2005 16:20:46 +0930

On 25 Apr 2005, at 08:52, Ben Borofka wrote:

I need to set a blank, empty argument (like "") in an NSTask, and I'm not sure how to do this.

If no-one is able to provide a solution, you could always make a tiny shell script and call that (written straight into Mail):


#!/bin/sh
dscl $* ""

That will run dscl with all the arguments you give it, plus an empty argument on the end.


Jonathon Mah email@hidden

_______________________________________________
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: 
 >Setting a blank ("") argument in NSTask (From: Ben Borofka <email@hidden>)

  • Prev by Date: [Solved]: Converting CGImageRefs to NSImages, how?
  • Next by Date: Make a Service AppleScriptable
  • Previous by thread: Re: Setting a blank ("") argument in NSTask
  • Next by thread: Re: Setting a blank ("") argument in NSTask
  • Index(es):
    • Date
    • Thread