Message129888
> os.popen is 41% is slower than subprocess: I suppose that it
> is the usage of stdout=PIPE (creation of the pipe) which make
> it slower
Oh no, it's because os.popen() calls subprocess.Popen() with shell=True: the overhead is the shell. Nothing wrong here. |
|
Date |
User |
Action |
Args |
2011-03-02 13:00:48 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, pitrou, giampaolo.rodola, neologix, Aaron.Sherman |
2011-03-02 13:00:48 | vstinner | set | messageid: <1299070848.82.0.768547963896.issue11314@psf.upfronthosting.co.za> |
2011-03-02 13:00:47 | vstinner | link | issue11314 messages |
2011-03-02 13:00:47 | vstinner | create | |
|