[Python-Dev] test_popen broken on Win2K

Jeff Epler jepler@unpythonic.net
Sun, 9 Mar 2003 19:27:26 -0600

[attribution lost]
> > Those would be quite different functions, then, unless you proposed to have
> > Python interpret native shell metacharacters on its own too (e.g., set up
> > pipes, do the indicated file redirections, interpolate envars, and fake
> > whatever other shell gimmicks people may use).

On Mon, Mar 10, 2003 at 11:52:39AM +1300, Greg Ewing wrote:
> What we need is a function which does all those things,
> but uses some way of specifying them *other* than shell
> metacharacters. E.g.
>   os.plumb(("sed", "-e", "s/dead/resting/", "parrots"), 
>     ("grep", "norwegian"), output = myfile))

+1 on the concept.  +1 on something that can be transformed to use tcl's
"exec" so that it'll begin working on several common arches immediately.