title: How to automatically close QEMU window after end of its process
body: <p>actually there is a same question before,</p>
  
  <p><a href="https://stackoverflow.com/questions/42208228/how-to-automatically-close-the-execution-of-the-qemu-after-end-of-process">How to automatically close the execution of the `qemu` after end of process?</a></p>
  
  <p>but I'm asking this issue again because no one has answered it yet.</p>
  
  <p><a href="https://i.stack.imgur.com/r2Yjb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r2Yjb.png" alt="enter image description here"></a></p>
  
  <p>I'm trying to simulate pintos on qemu. And when I invoke a command "pintos run alarm-multiple", a new QEMU window appears like above, and it doesn't close itself after it's powered off. I guess, however, this cause a problem when I try "make check", because each test doesn't end automatically. So "-T 60" option finally terminates the tests, just like below.</p>
  
  <p><a href="https://i.stack.imgur.com/vRxNo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vRxNo.png" alt="enter image description here"></a></p>
  
  <p>How can I make QEMU automatically quit itself when it ends its process??</p>