title: Process start keeps failing. Starting the exe via code fails
body: <p>I am trying to start a WPF application executable via the code below:</p>
  
  <pre><code>            Task.Factory.StartNew(() =&gt;
              {
                  CloseOpen();
              });
  
  void CloseOpen()
  {
        string srLocationss = @"" + srLocation + @"\Mycoded.exe";
        Process.Start(srLocationss);
  }
  </code></pre>
  
  <p>The executable starts and immediately fails. If I double-click it though, it works. I am really confused.</p>
  
  <p>Here's the error</p>
  
  <p><img src="https://i.stack.imgur.com/bYVWd.png" alt="enter image description here"></p>