Hello!

Well, I've been trying to avoid this as long as possible, but I can't seem to find a working alternative. I need to execute the following commands within a shell:

cd /Path to/my Directory

java -cp MyClasses.jar path.to.MyClass arg1 arg2

Upon the completion of the java command, the shell can terminate/go to sleep/go out of context/whatever.

How do I do this with in the RB shell class? I've read over the LR and the shell examples; but, I can't seem to get a program to successfully execute this. I'm confused.

What mode should the shell be in?
Do I use .execute, or .writeline?
Do I have to do .execute("sh") first?

I'm using RB2007r1 on WinXP Home.

Thanks!  Any help is greatly appreciated!
Mark

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to