Exec or Fork?

Kevin Dankwardt k at kcomputing.com
Fri Mar 31 16:52:41 UTC 2006


Perhaps you mean the system calls/library functions exec() and fork()?

You can check Linux man pages to find out about execve(), execl(), ... , fork(). These are independent of BusyBox.

Otherwise, within the shell you of course need merely run a command to have the shell fork and exec it. 

If you would like to have an application get started automatically at boot time then that is usually controlled via init and /etc/inittab. If you would like your system to not use init but instead just start up something else then boot your kernel with init=/path/to/your/program.

-kevin dankwardt
---- Carlos Mejia <loquees at hotmail.com> wrote:
> Hi !!!!
> I am working with one PC/104 which starts up from a Compacflash with an 
> operative system of real time (RTAI); for reasons of memory, I have reduced 
> the size of the system using Busybox. When the system initiates open the 
> shell that provides Busybox (ash).
> How i can give support to the commands Exec and Fork on my system with 
> Busybox? or How i can use the command Exec to execute an external program on 
> my system with Busybox?.
> Thanks!!!
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox

More information about the busybox mailing list