title: python Call to external program results in [Error 193] %1 is not a valid Win32 application
body: <p>I am writing a GUI front end that after it does a bunch of validation will execute a series of already existing vbscript .wsf files.  </p>
  
  <p>My problem is when I try to execute the .wsf files I get the error</p>
  
  <pre><code>WindowsError:  [Error 193] %1 is not a valid Win32 application
  </code></pre>
  
  <p>Running them from the command line works fine</p>
  
  <pre><code>d:\&lt;some path&gt;\&lt;some file&gt;.wsf
  </code></pre>
  
  <p>I have tried several different options, call, os.system etc.  But all result in the same Win32 error.</p>
  
  <pre><code>call("d:\&lt;some path&gt;\&lt;some file&gt;.wsf")
  </code></pre>
  
  <p>Any ideas?</p>