[issue29545] Python behavioral difference between Linux and AIX

2017-03-17 Thread Michael Felt
Michael Felt added the comment: Curious. First pass: using python2.7.12 also hanged as program, on the close() second pass: interactive - do the read first, then the close - seems to work: root@x064:[/data/prj/python/issues/29545]cat hello.py #!/usr/bin/env python import errno import os

[issue29545] Python behavioral difference between Linux and AIX

2017-03-06 Thread Anna Henningsen
Changes by Anna Henningsen : -- nosy: +addaleax ___ Python tracker ___ ___

[issue29545] Python behavioral difference between Linux and AIX

2017-02-13 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker ___ ___

[issue29545] Python behavioral difference between Linux and AIX

2017-02-13 Thread Gireesh
New submission from Gireesh: Here is my python code (parent): #!/usr/bin/env python import errno import os import pty from subprocess import Popen, STDOUT master_fd, slave_fd = pty.openpty() proc = Popen(['./a.out'],stdout=slave_fd, close_fds=True) os.close(slave_fd) data = os.read(master_fd,