You don't. As has been told to you several times now, attempting to
run a shell script as root from within your program is a bad idea, and
is not the right way to go about this. This was bad enough when you
wanted to pass hard-coded paths, but becomes even more the case when
we see that you are intending to pass shell wildcards. I cannot stress
this enough: read the documentation that has been given to you by
previous posters.
The most important point is that your helper tool should be as small
and single-purposed as possible. The shell does *not* meet this
criteria.
On 8/27/07, judiexu <email@hidden> wrote:
> for example, "rm test*.txt"
>
> Thanks!
--
Clark S. Cox III
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden