Thanks for your reply. I figured it out. I was not closing the file
that path pointed to before executing the command. D'oh! So sometimes
it read the file that was created on the previous test run ...
Anyway, for the benefit of anyone who might be googling for a similar
question, what seems to wor
On 27 Dec 2006 09:16:53 -0800, "hubritic" <[EMAIL PROTECTED]>
wrote:
>I am trying to set off commands on Windows 2003 from python.
>Specifically, I am trying to use diskpart with a script file (pointed
>to with path).
>
>cmd = ["diskpart", "/s", path]
>p = Popen(cmd, shell