[uClibc]Re: popen uses /bin/sh -c

Erik Andersen andersen at codepoet.org
Fri Jul 19 23:41:43 UTC 2002


On Fri Jul 19, 2002 at 04:02:08PM -0700, Joseph Chiu wrote:
> Hi,
> It appears popen calls "/bin/sh -c (command)"; but if one use uclibc with
> busybox, then that becomes "ash -c (command)", but ash doesn't accept -c.
> What approach might I take to handle this?
> Joseph

I readily admit that ash has a pretty wierd way of parsing 
options, but it does infact work as expected:

    $ ./busybox ash -c "echo hello"
    hello

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list