card to true
> readloop
> end startProcess
>
> command readloop
> if the the cRunning of this card then
> read from process nM for 10
> if it is not empty then
> put it & cr after fld mergeOut
> put the number of lines of fld
Very cool! I kept staring at the code you sent but i'm just too fuzzy today
to make much sense of things. Glad its working for you!
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
this card then
read from process nM until empty
if it is not empty then
put it & cr after fld mergeOut
put the number of lines of fld mergeOut * 16 into sPlace
set the vscroll of fld mergeOut to sPlace
end if
if it contains "dblink
have the same result as reading
> characters
> >> as shown below)
> >>
> >> local nM
> >> on mouseUp
> >> startProcess
> >> end mouseUp
> >>
> >> command startProcess
> >> put fld dbPathList into nM
> >>
p
>>
>> command startProcess
>> put fld dbPathList into nM
>> open process nM for update
>>set the cRunning of this card to true
>>readloop
>> end startProcess
>>
>> command readloop
>> if the the cRunning of this card then
&g
elow)
>
> local nM
> on mouseUp
> startProcess
> end mouseUp
>
> command startProcess
> put fld dbPathList into nM
> open process nM for update
>set the cRunning of this card to true
> readloop
> end startProcess
>
> command readloop
> if the th
mmand readloop
if the the cRunning of this card then
read from process nM for 10
if it is not empty then
put it & cr after fld mergeOut
put the number of lines of fld mergeOut * 16 into sPlace
set the vscroll of fld mergeOut to sPlace
if it contain
loop
readloop -- handler to do the read
end startProcess
command readloop
if the the cRunning of this card then
read from process "myProcess" until empty
if it is not empty then
#do whatever you want with the resulting read.
#if the end line is read, close process set the cRunning of
100 lines of output where the final line has a unique
> output
> > acknowledging that it has completed.
> >
> > How should I be writing my read from process?
> >
> > I assume that this should be done inside a repeat forever loop where you
> > can trap the mousecl
ted.
>
> How should I be writing my read from process?
>
> I assume that this should be done inside a repeat forever loop where you
> can trap the mouseclick to exit or check for the unique output line from
> the read process to exit.
>
> I can't seem to any output from
; > between 20 to 100 lines of output where the final line has a unique
> output
> > acknowledging that it has completed.
> >
> > How should I be writing my read from process?
> >
> > I assume that this should be done inside a repeat forever loop where you
> >
ts the various stages and results it currently has
> completed.
>
> In the terminal window if I just do the command line it produces anywhere
> between 20 to 100 lines of output where the final line has a unique output
> acknowledging that it has completed.
>
> How should I be wr
outputs the various stages and results it currently has
completed.
In the terminal window if I just do the command line it produces anywhere
between 20 to 100 lines of output where the final line has a unique output
acknowledging that it has completed.
How should I be writing my read from process?
I
13 matches
Mail list logo