On Apr 10, 2007, at 11:11 PM, Patrick Salo wrote:

> I need a quick sanity check before I post this as a bug...
>
> Has anyone else run into a problem with an asynchronous shell where
> the shell appears to get "stuck" unless if you keep emptying the
> buffer through the DataAvailable event? Maybe this is how it's
> suppossed to work and I just never caught on to this nuance. Here is
> some example code in the open event of a window:
>
>    // Setup Shell
>    Shell1.TimeOut = 14400000
>    Shell1.Mode = 1
>    Shell1.Execute "dir c:\windows\system32\*.* /s"
>
> I'm emptying the shell buffer in the DataAvailable event of the shell
> via:
>
>    EditField1.Text = EditField1.Text + Shell1.ReadAll

If you "jiggle" the mouse, does the output resume?  Also, what  
happens if you change the mode to 2 instead of 1?

Tim
--
Tim Jones
[EMAIL PROTECTED]

_______________________________________________
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