title: Mono Process.Start returning ExitCode 255?
body: <p>I have a simple C# Mono 2.10 application running on CentOS 5.5 that calls </p>
  
  <pre><code>Process.Start("/path/to/myapp/myapp.exe","-someArgs");    
  </code></pre>
  
  <p>I am able to get a process ID back and running with </p>
  
  <pre><code>mono --trace=N:System.Diagnostics
  </code></pre>
  
  <p>Shows me a stack that seems to indicate that Process.Start returned true:</p>
  
  <pre><code>LEAVE: System.Diagnostics.Process:Start_noshell (System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process)TRUE:1
  LEAVE: System.Diagnostics.Process:Start_common (System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process)TRUE:1
  LEAVE: System.Diagnostics.Process:Start ()TRUE:1
  LEAVE: (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()TRUE:1
  </code></pre>
  
  <p>Which I assume means the process was spawned without an exception like FileNotFound etc.. </p>
  
  <p>However, the process seems to exit immediately and <strong>the exit code I get is 255</strong>. I assume this is a Linux exit code with some obvious meaning but I can't find anything of use on the tubes.</p>
  
  <p>When launching the exact same application directly via</p>
  
  <pre><code>mono /path/to/myapp/myapp.exe -someArgs 
  </code></pre>
  
  <p>The application launches correctly without any exception and works as expected. </p>
  
  <p>Any clue what I am screwing up?</p>