[issue24987] subprocess.Popen with shell=True doesn't create socket

2015-09-03 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> works for me ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue24987] subprocess.Popen with shell=True doesn't create socket

2015-09-03 Thread asduj
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, bec

[issue24987] subprocess.Popen with shell=True doesn't create socket

2015-09-03 Thread Eric V. Smith
Eric V. Smith added the comment: With both python 2 and 3, what does "ps -efww | fgrep soffice" produce? -- nosy: +eric.smith ___ Python tracker ___ _

[issue24987] subprocess.Popen with shell=True doesn't create socket

2015-09-02 Thread asduj
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

[issue24987] subprocess.Popen with shell=True doesn't create socket

2015-09-02 Thread Martin Panter
Martin Panter added the comment: Can you explain what is working in Python 2.7 that is not working in 3.4? Do you have an exception, error message, relevant netstat output, etc. What platform? I don’t have Open Office on this computer, but I tried the following (Linux) command lines and both

[issue24987] subprocess.Popen with shell=True doesn't create socket

2015-09-02 Thread asduj
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 --