title: Unable to launch exe from another directory
body: <p>I'm trying to reboot a program after 20hours of execution, but I'm unable to launch it from another place than the current directory.</p>
  
  <p>For example if I call:</p>
  
  <pre><code>my @arglist = ('..\Server\taktpreviewserver\TaktPlayer2.exe', 'VLC_Player');
  
  exec(@arglist) or die "Unable to relaunch TaktPlayer2.exe";
  </code></pre>
  
  <p>That will work, but I need to acces to some stuff on <code>..\Server\taktpreviewserver\</code> .</p>
  
  <p>So I did :</p>
  
  <pre><code>chdir('..\Server\taktpreviewserver');
  
  my @arglist = ('TaktPlayer2.exe', 'VLC_Player');
  
  exec(@arglist) or die "Unable to relaunch TaktPlayer2.exe";
  </code></pre>
  
  <p>That won't work if launched from the phpServer ... (but works fine if called separately !!)</p>
  
  <p>Is there anything to know about <code>chdir</code> or launching program from a server ?</p>
  
  <p>Ps : i'm on windows XP</p>