Error Trapping for Linux Process
Chipp Walters
chipp at chipp.com
Sat Jan 31 02:49:58 EST 2004
Glen,
I'm not sure I understand the problem. Can you be more specified?
I would expect if the handler could not get 5 lines, it would know this
and would count the lines and assume the process has quit if less than
5, no? Then it would cancel any pending messages (requests).
-Chipp
On Jan 30, 2004, at 2:45 PM, Bojsza wrote:
> I am reading from a process that can be user terminated or will
> automatically terminate once complete.
>
> In the latter I need to be able to trap the Error Revolution generates
> when it suddenly can no longer read from this process.
>
> The example is where it continually reads 5 lines, puts them in a
> field and sends a update message to itself to read the next 5 lines.
> If it has read the last 3 lines and suddenly the process terminates, I
> want to put the last three lines in the field but know that the
> process has terminated and give the user a message.
>
> Hope this makes sense.
>
> thanks,
>
> Glen
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list