On Thu, Feb 7, 2013 at 4:55 PM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
-                shutil.rmtree(name)
+                # shutil.rmtree(name) would be ideal but its too slow
+                subprocess.call('rm -rf %s' % path, shell=True)

This is a good idea, but I'm curious about forking off a shell process for it. I'd think this would work as well: subprocess.call(['rm', '-rf', path])
--
Christopher Larson