<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 7, 2013 at 4:55 PM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":24s">-                shutil.rmtree(name)<br>
+                # shutil.rmtree(name) would be ideal but its too slow<br>
+                subprocess.call(&#39;rm -rf %s&#39; % path, shell=True)</div></blockquote></div><br>This is a good idea, but I&#39;m curious about forking off a shell process for it. I&#39;d think this would work as well: subprocess.call([&#39;rm&#39;, &#39;-rf&#39;, path])</div>

<div class="gmail_extra">-- <br>Christopher Larson</div></div>