Re: How to start a program in a application ?
Simon Heath <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
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. Simon 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.