nested popen4

Terry Reedy tjreedy at
Sat Oct 4 19:46:22 CEST 2008

julian wrote:
> Hi all,
> I know it's a kind of bizarre question but here I go: I want to
> execute an script using popen4. This script executes a command in turn
> using popen4 too. The first one throws a 256 exit code.
> Any suggestions?

Popen4 is gone in 3.0 and I presume deprecated in 2.6, replaced in both 
by new subprocess module.  Latter might work better for you.

More information about the Python-list mailing list