title: launch console application from asp.net page on shared hosting
body: <p>i need to launch simple console application from my asp.net webpage, that creates a file using given parameters. hereis my code:</p>
  
  <pre><code>string filePath = Server.MapPath(@"~/Patcher/TestPatcher.exe");
  
  System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo(filePath , "-sn:123456789123456 -upd -fn:test.hd");
  info.UseShellExecute = false; 
  info.RedirectStandardOutput = true;
  System.Diagnostics.Process p = System.Diagnostics.Process.Start(info);
  
  p.WaitForExit(25000);
  // Display the output
  string str = p.StandardOutput.ReadToEnd();
  </code></pre>
  
  <p>problem is that program doesnt create any file, but it does launch - i got some output in "str". any suggestions? and btw, that website must work on shared hosting.</p>