execute function

Nuno Leitão <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA3OKpjpGQdkmffOw2nYFNF8KAAAAQAAAA0VImpWkMIUysH5ROC+0SNwEAAAAA@datelka.pt>
Hi,

Does anyone now how to work the execute function??
Or does anyone now why the code

    com.dalsemi.system.TINIOS.execute(new Object[] {"help","java"}, 
                new
com.dalsemi.shell.server.SystemInputStream(System.in,System.out),
                new
com.dalsemi.shell.server.SystemPrintStream(System.out),
                new
com.dalsemi.shell.server.SystemPrintStream(System.out),
                com.dalsemi.system.TINIOS.getCurrentEnvironment());
    


or


   Object[] exec = {"help","java"};

    com.dalsemi.shell.DefaultTINIShell tShell =new
com.dalsemi.shell.DefaultTINIShell();
    
    tShell.login("root","tini"));
    
    tShell.execute(exec, new
com.dalsemi.shell.server.SystemInputStream(System.in,System.out),
                new
com.dalsemi.shell.server.SystemPrintStream(System.out),
                new
com.dalsemi.shell.server.SystemPrintStream(System.out),
                tShell.getCurrentEnvironment());

    tShell.logout("Bye");


Always reply "Command not found"?

Thanks,

..........................................................
....................................
Nuno Leitão                    Tel. 351 218 314 337 
Datelka – Engenharia e Sistemas, Lda. Fax  351 218 314 339 
Av. Infante D. Henrique 328 - 1º G E-mail: [email protected] 
1800-223 Lisboa – Portugal Internet: www.datelka.pt 

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
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.