On Feb 5, 2007, at 2:05 PM, Steve Roy wrote:
Hm why doesn't this work folks?
I did a simple test project. In the Action event of a PushButton I
have this:
dim sh as new MyShell()
sh.Mode = 1
sh.Execute("pwd")
The MyShell class is a subclass of Shell and has this in
DataAvailable event:
System.DebugLog(ReadAll())
Shouldn't this work? If I set Mode = 0 and read sh.Result instead
then I do get the expected result. But it doesn't seem to work
asynchronously. Either I'm missing something obvious or it's broken.
DataAvailable has always been broken as far as I know. But you can
still read sh.Result even for an asynchronous shell.
Charles Yeomans
_______________________________________________
Unsubscribe:
<[EMAIL PROTECTED]>
REAL Software has decided to consolidate this mailing list with the online Forums.
On Monday, February 12, 2007, this mailing list will no longer be active. We
encourage you to continue your REALbasic and REAL SQL Server discussions on the
Forums. If you are not presently a member of the forum, please sign up today at
<http://forums.realsoftware.com>.