How to start a program in a application ?

Simon Heath icefoxen at
Sat Mar 2 19:48:25 CET 2013

The Lua standard library function os.execute() would be one way to do it.
Or you could probably interface with C to call whatever OS functions are
available from there (e.g. popen() or fork()/exec() in Linux).

Hope this helps.


Excerpts from Jason.han's message of 2013-03-01 20:33:45 -0700:
> Hi all,
>      I want to start a program in my application ,(e.g task A--->start 
> task B)
>      I can't get enough information  in  latest  source version ,
>      so I wonder if some know whether there is some system call like 
> fork()  or APIs to do this.
>      Please give me some suggestion ,and  example it  preferred .
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
> is intended only for the use of the intended recipient and may be confidential and/or privileged of 
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
> not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
> is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
> immediately notify the sender by return e-mail, and delete the original message and all copies from 
> your system. Thank you. 

More information about the l4-hackers mailing list