On Feb 10, 2007, at 03:21 UTC, [EMAIL PROTECTED] wrote:

> Unless I'm not doing this right, the interactive mode doesn't result 
> in anything...

You're not using it right.  In interactive mode, you call Shell.ReadAll
in both the DataAvailable and Completed events to get the data back
from the command that's executing.

And note that even in interactive mode, a single call to Shell.Execute
executes a single command.  It's just that it can be an interactive
command.  If what you really want is to execute multiple shell commands
in a single "session," then the command you should .Execute is "sh" (or
"tcsh" or whatever shell you prefer).  Then use .WriteLine to give
subsequent commands to that shell.

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to