using subproc.py (elaborated)

hajime@jsk.t.u-tokyo.ac.jp
Mon, 10 Apr 95 16:15:18 +0900

Due to some very good advice I have elaborated.

The problem is that I am having trouble using subproc.py
under linux.

The example code is as follows...

------------------------------

>>> import subproc
>>> pgnuplt = subproc.Subprocess('gnuplot')
>>> pgnuplt.write('quit')

--------------
using 'ps' showed that gnuplot was still alive.
--------------

>>> pgnuplt.die()
>>> pgnuplt.status()
'sans process'
>>>
---------------
But 'ps' shows that gnuplot is still alive.

hajime 3092 0.0 1.5 397 228 pp1 T 16:03 0:00 gnuplot

I'd appreciate any help.
Thank you in advance.

Hajime Saito
hajime@jsk.t.u-tokyo.ac.jp