title: RunWait() - add parameters
body: <p>My AutoIt script launches another script (written in UIAutomation). So I wrote this:    </p>
  
  <pre><code>RunWait("C:\AutoUIInst\Test\bin\Debug\" &amp; "Test.exe", "","")
  </code></pre>
  
  <p>It works fine. But now I have to add a parameter. For example: <code>"Test.exe -someParam"</code> . So i tried <a href="https://www.autoitscript.com/autoit3/docs/functions/RunWait.htm" rel="nofollow noreferrer"><code>RunWait()</code></a> :</p>
  
  <pre><code>RunWait('"C:\AutoUIInst\Test\bin\Debug\" &amp; "Test.exe" -someParam', "","")
  </code></pre>
  
  <p>That won't work. Can someone help?</p>