occasional checking process is alive

From: <Paul.Emsley_at_chem.gla.ac.uk>
Date: Thu, 16 Sep 1999 01:02:13 +0100

        Please excuse this newbie question:

        I have a simple-minded STk GUI which creates input for a
      process. When the data are in an appropriate form, the STk
      program writes it to a file and starts a subprocess (which may
      or may not fail horribly).

        What I would like to do is every-so-often check to see if the
      process is still alive (pressumbably using (process-alive?
      *process-num*)). If it is not then do some action (such as
      (my-popup "Job terminated")). It would be good if I could check
      the exit status of the program and I could change the popup
      message appropriately. I'm guessing I need some sort of (after
      ..) or (tkwait ..) thing - but I don't see how to do it...

        Can you help?


Received on Thu Sep 16 1999 - 01:59:28 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST