realbasic-nug
[Top] [All Lists]

Asynchronous Shell (Linux)

To: realbasic-nug at lists dot realsoftware dot com
Subject: Asynchronous Shell (Linux)
From: Bill Cavalieri <bcavalieri at lumensoftware dot com>
Date: Sat, 31 Dec 2005 02:39:13 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Organization: Lumen Software
RB 2005r4 on SuSE 10.0

I'm trying to get Asynchronous Shell figured out, but I'm getting
something wrong.

I have a class called test, with Shell as its super.

Fron the Run Event of my console app, I have

Dim t As New Test
t.Mode=1

t.Execute "/usr/bin/bzip2 alargefile"

While t.IsRunning
        Print "running"
Wend


I run the compiled app, instead of seeing a bunch of "running" output in
the shell, I get an immediate successful exit.

When I look at the running process, I see the bzip running till its
completed. But not my RB console app.

Any ideas as what I'm doing wrong?

-Bill


_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>