> On Don, 2011-02-03 at 15:14 +0100, Harald Becker wrote: > [...] > > > Can I set up a script file to be run as a preamble at the > > opening of any > > > shell by a C prog using a "system()" call? > > And the system() C-library call has exactly what to with busybox?
well nothing... except... when the stuff runs in the shell which it spawns... I really want it to be using my installed busybox, rather than any other busybox or set of Linux utilities that might be on the disk. I can see that the system call doesn't explicitly set a path, so I'm guessing it's inheriting the path that the C program started in - though I'd need to read some man pages to stop guessing :-) _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
