Re: [coldfire-gnu-discuss] system() function broken
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldfire-gnu-discuss] system() function broken
- To: Michel Marti <michel.marti@xxxxxxxxxxxx>
- Subject: Re: [coldfire-gnu-discuss] system() function broken
- From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
- Date: Sun, 21 May 2006 16:10:27 +0100
Michel Marti wrote:
Nathan Sidwell wrote:
Can you determine what is emitting the 'applet not found' message?
That's a message from busybox itself. E.g. if you invoke "busybox
blabla" you will get "blabla: applet not found". According to the
system() manpage, it will call "/bin/sh -c <command>", so it looks like
the command passed to system() somehow gets lost/garbled.
ah, so IIUC, it appears the "/bin/busybox" string is being transformed into
"/bin/busybox ?", so busybox is trying to find the '?' applet.
The board we're using runs linux-2.6.17-rc4 and busybox 1.1.3.
thanks for this information. At the moment we're unable to reproduce the
problem. Have you tried a shell builtin, such as
system ("echo hello");
?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@xxxxxxxxxxxxxxxx :: http://www.planetfall.pwp.blueyonder.co.uk