On 2017-02-09 13:29, Erik Bray wrote:
I think this can be worked around in Sage by not explicitly closing the master pty until the process has exited.
I think this is doing things in the wrong order. Closing a pty is a way to signal to a process that it should exit.
This isn't Sage-specific, upstream pexpect/ptyprocess also quits processes this way.
If terminate_async() is called, it should kill the process anyway. Do you know why this isn't working?
-- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.