[issue24987] subprocess.Popen with shell=True doesn't create socket
New submission from asduj: I want to run the next command subprocess.Popen("soffice --accept='socket,host=localhost,port=8100;urp;'", shell=True) to make soffice listen localhost:8100. It is work in python 2.7.9, but doesn't in python 3.4.3. I control it by netstat -a | grep 8100 -- components: Library (Lib) messages: 249576 nosy: asduj priority: normal severity: normal status: open title: subprocess.Popen with shell=True doesn't create socket versions: Python 3.4 ___ Python tracker <http://bugs.python.org/issue24987> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24987] subprocess.Popen with shell=True doesn't create socket
asduj added the comment: After executing this code in Python 2.7 I check if OpenOffice is listening the localhost:8100, and get the output: netstat -a | grep 8100 tcp 0 0 localhost:8100 *:* LISTEN If I executing the same code in Python 3.4 and check, I get nothing. Platform: Ubuntu 15.04. In fact, command runs any office installed on the computer (LibreOffice or OpenOffice), and on my computer I have LibreOffice. There are no messages, the command runs normal, just not working as it should. -- ___ Python tracker <http://bugs.python.org/issue24987> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24987] subprocess.Popen with shell=True doesn't create socket
asduj added the comment: Hello, Eric and Martin! I don't know what happened, but now it works. I have checked this problem on two computers two days ago, and then the command was not working. But now, I run exactly that command, and it works as should. I don't know what has changed. Maybe, because I installed the OS update before I test again. Thank you for attention and your time. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue24987> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com