Re: Setting a blank ("") argument in NSTask
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