[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: system-question
From: |
Mats Jansson |
Subject: |
Re: system-question |
Date: |
Fri, 29 Oct 1999 10:59:08 +0200 |
John W. Eaton wrote:
> On 29-Oct-1999, Mats Jansson <address@hidden> wrote:
>
>| Thanks Joao!
>| You introduced the command 'fork' to me!
>|
>| Unfortunately, a new problem appeared. When I'm killing emacs from the
>| octave-prompt, everything seems to work. But when I'm killing it from
>| a function, it becomes a zombie-process.
>|
>| Does anyone have a solution?
>
> I think the function you are looking for is called waitpid.
>
> jwe
I want to be able to do two things:
1) check if the program is still running
2) close the program from octave
I think 'waitpid' is the right command to check if the program is
still running. But how do I close the program from octave?
Thanks
Mats
---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL. To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------