title: How do I launch a process with low priority? C#
body: <p>I want to execute a command line tool to process data. It does not need to be blocking.
  I want it to be low priority. So I wrote the below</p>
  
  <pre><code> Process app = new Process();
   app.StartInfo.FileName = @"bin\convert.exe";
   app.StartInfo.Arguments = TheArgs;
   app.PriorityClass = ProcessPriorityClass.BelowNormal;
   app.Start();
  </code></pre>
  
  <p>However, I get a <code>System.InvalidOperationException</code> with the message "No process is associated with this object." Why? How do I properly launch this app in low priority?</p>
  
  <p>Without the line <code>app.PriorityClass = ProcessPriorityClass.BelowNormal;</code> the app runs fine.</p>