Shell.Mode Property

Syntax

Mode as Integer


Controls the operation of the shell. Interactive mode is supported only on Mac OS X.
0-Synchronous.

The shell executes its command and returns the result.

1-Asynchronous. The shell executes its command and returns data via the DataAvailable event.

2-Interactive. Data can be sent to a running shell session with the Write method and data is returned via the DataAvailable event.