title: Launch external process (.exe) from asp.net core app
body: <p>I have the following</p>
  
  <pre class="lang-cs prettyprint-override"><code>[HttpPost]
  public IActionResult LaunchExternalProcess()
  {
      Process.Start("C:\\Windows\\System32\\calc.exe");
      return Ok();
  
  }
  </code></pre>
  
  <p>And this works perfectly fine on my local machine, but when deployed onto IIS 10 (windows 2016) I get no errors but it does not launch the calc on the server.</p>
  
  <p>I simply want to call an external .exe from a button on my page.</p>
  
  <p>Here is the javascript that I am using which also works on my local but no errors on server and it displays the success message</p>
  
  <pre class="lang-js prettyprint-override"><code>$.ajax({
      url: "/Admin/LaunchExternalProcess",
      type: "POST",
      cache: false,
  
      success: function () {
  
          console.log("success");
      }
  });
  </code></pre>