title: Python os.system launch exe with quotes and dash arguments
body: <p>Good Day all</p>
  
  <p>I am trying to run the following command, but receive various error's I know I have the incorrect syntax or possibly using an incorrect method, would any one be kind enough to point in the correct direction.</p>
  
  <p>Thanks for any assistance</p>
  
  <p>the actual external program path as in windows command line or batch script would be.</p>
  
  <pre><code>"c:\Program Files\SQL Anywhere 11\Bin32\dbbackup.exe" -c "DSN=demo2suite;UID=dba;PWD=sql" -y "D:\Databases\demo2\LIVE\LIVE_BCK"
  </code></pre>
  
  <p>Python V3.3</p>
  
  <p>my part of the code for this mini(newbie) project would be.</p>
  
  <pre><code>def BackupDatabase():
      try:
          os.system('c://Program Files//SQL Anywhere 11//Bin32//dbbackup.exe -c "DSN=amos2suite;UID=dba;PWD=sql" -y "D://Databases//AMOS2//LIVE//LIVE_BCK"')
      except OSError as e:
          WriteLog("error",e) 
  </code></pre>