On 10/30/06, Douglas Kojetin <douglas.kojetin@xxxxxxxxx> wrote:
Actually, the same thing happens on my end in Tcl/Tk, but I only need/
use the pipe while the script is running. Perhaps using a named pipe
will resolve the problem?
http://en.wikipedia.org/wiki/Named_pipe
I haven't played with named pipes and fifos for while. The approach
will result in many fifos though. It would be preferable if there was
another way, which is cross-platform compatible, of preventing PyMOL
from terminating. If there isn't a method currently built into PyMOL
to enable persistence after the pipe closes, the developers may be
able to help. As PyMOL is open source, there should be a way of
enabling this through a command-line flag or otherwise.
I've looked at the PyMOL sources to try to track down where this
occurs, but as I'm not familiar with the code I haven't gotten to far.
The 'layer0' to 'layer5' directories are a bit confusing, I've been
bouncing around chasing backwards from the file 'layer5/main.c' which
contains the statement:
printf(" PyMOL: normal program termination.\n");
Edward