[Python-ideas] Suprocess functionality partitioning
Chris Rebert
pyideas at rebertia.com
Thu Jun 13 01:42:46 CEST 2013
On Wed, Jun 12, 2013 at 12:32 PM, anatoly techtonik <techtonik at gmail.com> wrote:
> Something needs to be done about subprocess API, which got overly
> complicated.
>
> The idea is to have:
> shutil.run() - run command through shell, unsafe
There's already a bug to add something like that:
http://bugs.python.org/issue13238
> sys.run() - run command directly in operating system, ?safe
I don't think `sys` is the right place for it (leave it in
`subprocess` and refactor Popen()'s API, IMO).
Anyone know if there's an existing bug for streamlining/splitting
subprocess's API?
Cheers,
Chris
More information about the Python-ideas
mailing list