Top "Popen" questions

popen() is a way to communicate with subprocesses using a file-like interface.

Execute external program ( like skype.exe) using php

I have tried launch an external application installed in the C:\Program Files (x86)\Hewlett-Packard\HP MyRoom\MyRoom.exe using …

php exec popen external-process
What difference between subprocess.call() and subprocess.Popen() makes PIPE less secure for the former?

I've had a look at the documentation for both of them. This question is prompted by J.F.'s comment …

python python-2.7 subprocess popen python-2.6
Disable console output from subprocess.Popen in Python

I run Python 2.5 on Windows, and somewhere in the code I have subprocess.Popen("taskkill /PID " + str(p.pid)) to …

python console subprocess popen
Using && in subprocess.Popen for command chaining?

I'm using subprocess.Popen with Python, and I haven't come across an elegant solution for joining commands (i.e. foobar&…

python linux python-2.7 popen chaining
php shell_exec with realtime updating

I have this shell program that I want to execute by php. The problem is that it can potentially take …

php popen shell-exec
How to write EOF to STDIN popen in python

I have the following command run through popen: p = subprocess.popen(["/usr/bin/whiptail", "--title", "\"Progress\"", "--gauge", "\"\"", "6", "50", "0"], stdout=subprocess.PIPE, …

python subprocess popen whiptail
Popen waiting for child process even when the immediate child has terminated

I'm working with Python 2.7 on Windows 8/XP. I have a program A that runs another program B using the following …

python subprocess popen
input to C++ executable python subprocess

I have a C++ executable which has the following lines of code in it /* Do some calculations */ . . for (int i=0; …

python c++ subprocess popen cin
Python's Popen cleanup

I wanted to use a python equivalent to piping some shell commands in perl. Something like the python version of …

python popen resource-cleanup
Difference between subprocess.Popen preexec_fn and start_new_session in python

What is the difference between these two options to start a new process with subprocess.Popen for python3.2+ under Linux: …

python subprocess popen kill-process setsid