[EMAIL PROTECTED] wrote: > I can't see any obvious way to ask subprocess to use a shell other than > the default.
-c ? >>> f = Popen(["/bin/bash", "-c", "set|grep IFS"], stdout=PIPE) >>> f.stdout.read() "IFS=$' \\t\\n'\n" >>> f = Popen(["/bin/sh", "-c", "set|grep IFS"], stdout=PIPE) >>> f.stdout.read() "IFS=' \t\n" </F> -- http://mail.python.org/mailman/listinfo/python-list