title: Robot Framework: Start Process with arguments on Windows?
body: <p>I'm quite new with Robot Framework, and I cannot find a way to run a process with arguments on windows. I am quite sure I did not understand the documentation and there is a simple way of doing that though...</p>
  
  <p>Ok, let's say I can start my program using this command:</p>
  
  <pre><code>c:\myappdir&gt;MyApp.exe /I ..\params\myAppParams.bin 
  </code></pre>
  
  <p>How to do that in RF?</p>
  
  <p>Any kind of help would be appreciated.
  Thank you very much :)</p>
  
  <p>Edit 1:</p>
  
  <p>Here is a piece of my code:</p>
  
  <pre><code>| *Setting*            | *Value*
  | Resource             | compilationResource.robot 
  #(Process lib is included in compilationResource)
  
  #I removed the "|" for readability
  ...
  TEST1
  ...
    ${REPLAYEXEDIR}=  get_replay_exe_dir #from a custom lib included in compilationResource
    ${EXEFULLPATH}= Join Path  ${WORKSPACEDIR}  ${REPLAYEXEDIR}  SDataProc.exe
    Should Exist  ${EXEFULLPATH}
    ${REPLAYLOGPATH}=  Join Path  ${WORKSPACEDIR}  ReplayLog.log
    ${REPLAYFILEPATH}=  Join Path  ${WORKSPACEDIR}  params  params.bin
    Should Exist  ${REPLAYFILEPATH}
  
    Start Process  ${EXEFULLPATH}  stderr=${REPLAYLOGPATH}  stdout=${REPLAYLOGPATH}  alias=replayjob
    Process Should Be Running  replayjob
    Terminate Process  replayjob                
    Process Should Be Stopped  replayjob
  </code></pre>
  
  <p>This works. As soon as I try to include the arguments like this:</p>
  
  <pre><code>  Start Process  ${EXEFULLPATH} ${/}I ${REPLAYFILEPATH}  stderr=${REPLAYLOGPATH}  stdout=${REPLAYLOGPATH}  alias=replayjob
  </code></pre>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>WindowsError: [Error 2] The system cannot find the file specified</p>
  </blockquote>
  
  <p>and this error comes from the start process line.</p>
  
  <p>Let me know if I was unclear or if nmore info is needed.
  Thank you all for your help on this.</p>
  
  <p>Edit 2: SOLUTION</p>
  
  <p>Each argument must be separated form the other (when not running in shell) with a double space. I was not using double spaces, hence the error.</p>
  
  <pre><code>|  | Start Process | ${EXEFULLPATH} | /I | ${REPLAYFILEPATH} | stderr=${REPLAYLOGPATH} | stdout=${REPLAYLOGPATH} | alias=replayjob
  </code></pre>