Re: How to start new program in interactive way

Matthias Lange <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi,

On 30.04.2013, at 13:12, Chao-Jui Chang wrote:

> Is there any other way to start a new l4 program or l4linux?
> Currently, I can only start program by writing lua script.
> 
> Can I start new program like in a shell environment? 
> For example: 
> $ ls -> run ls program
> $ df -> run df program
> 
> If no shell like environment, is there any example by using L4Re API?

It depends on what you would like to do. The easiest way would be to create a new task using the L4Re API. Then you can load an ELF binary from the rom filesystem and setup your new task accordingly. You can find a few hints in the moe source code.

Best,
Matthias.


-- 
Dipl.-Inf. Matthias Lange <[email protected]>
Security in Telecommunications
TU Berlin / Deutsche Telekom Laboratories
Ernst-Reuter-Platz 7, 10587 Berlin
Phone: +49 - 30 - 8353 58 553
Mobile: +49 - 160 - 587 28 07

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.