[uClibc] usage problem (linux - ash - system command)
Philip Rakity
prakity at yahoo.com
Wed Feb 2 13:29:40 UTC 2005
A friend suggested that I prepend a single quote before and postpend a
single quote at of the cmd string.
eg something like
;"/var/xxx/usr/sbin/xxx -s macacl 1 2 /"00:11:22:33:44:55
00:55:44:33:22:11"'
and passing the above to the system cmd.
On my MAC - I tried
sh -c ;"/var/xxx/usr/sbin/xxx -s macacl 1 2 /"00:11:22:33:44:55
00:55:44:33:22:11"'
and
my toy program shows argc and argv to be correct.
When I run the real program on linux using the system cmd the program
is NOT invoked.
Philip
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
More information about the uClibc
mailing list