title: Child process receives parent's SIGINT
body: <p>I have one simple program that's using Qt Framework. 
  It uses QProcess to execute RAR and compress some files. In my program I am catching <code>SIGINT</code> and doing something in my code when it occurs:</p>
  
  <pre><code>signal(SIGINT, &amp;unix_handler);
  </code></pre>
  
  <p>When <code>SIGINT</code> occurs, I check if RAR process is done, and if it isn't I will wait for it ... The problem is that (I think) RAR process also gets <code>SIGINT</code> that was meant for my program and it quits before it has compressed all files.</p>
  
  <p>Is there a way to run RAR process so that it doesn't receive <code>SIGINT</code> when my program receives it?</p>
  
  <p>Thanks</p>