On Thursday 05 November 2009 17:19:10 [email protected] wrote: > I'm writing user-level code on a high performance computer (IBM Blue > Gene). The OS is missing some system calls, including fork/exec. I was > hoping to use busybox to fill in some functionality, maybe like this: > > ret = bb_system("ls -l foo*"); > > E.g., I would need to build all the commands into the shell, and then > call the shell itself using a library function, instead of the usual > fork/exec (or system(3)) call. > > I've been studying the busybox config system, mailing list archives, > and code architecture. It seems like most of the parts are there, but > I don't see any way to put together a busybox system that can be called > from user code without fork/exec. Am I missing something?
look into the PREFER_APPLETS option, and you probably want to re-use the NOMMU config option. it should "work" for some applets, but probably not all. might be useful to have another config option that is like "only use applets". -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
