On Tue, Sep 15, 2009 at 5:07 PM, Chris Rebert <[email protected]> wrote: > On Tue, Sep 15, 2009 at 4:01 PM, Russell Jackson > <[email protected]> wrote: > <snip> >> Attempted code in Python 3: (Doesn't work either) > <snip> >> cmd = ' passwd {0}'.format(user) >> pipe = Popen(p4 + cmd, shell=True, stdin=PIPE, stdout=PIPE, >> stderr=PIPE, universal_newlines=True) <snip>
Scratch that, I neglected to notice the shell=True option. Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list
