title: Issue in python when using the shutdown function
body: <p>I will provide a video to show you as well what is going on, here is the link to the video displaying this strange issue:</p>
  
  <p><a href="https://www.youtube.com/watch?v=o9RUR7t18NA&amp;list=UU0OG8tltECja7Sgxa9A5Drg" rel="nofollow noreferrer">https://www.youtube.com/watch?v=o9RUR7t18NA&amp;list=UU0OG8tltECja7Sgxa9A5Drg</a></p>
  
  <p>The source code is uploaded to pastebin which you can find on the youtube channel but is not really relevant since it is really only the "shutdown" function that is going crazy.</p>
  
  <p>I'd like to address this strange issue or bug.</p>
  
  <p>To narrow things down here is some information:
  I am using Windows 7 32bit version and am running Python 3.4 also 32bit version.</p>
  
  <pre><code>import os
  os.system("shutdown -s -t 60")
  </code></pre>
  
  <p>The code here is simple and should work, now get this:</p>
  
  <p>If I run this code in the standard Python GUI, it works as intended. However if I run this very same code in IDLE all it does is open up the Command Prompt (cmd) and creates a infinite loop, my only option being to press enter.</p>
  
  <p>Another interesting thing to note is when I try to close this command prompt, the command prompt prints something like this out: </p>
  
  <p><code>^C ^C ^C ^C ^C ^C</code></p>
  
  <p>and at times this:</p>
  
  <p><code>^^^^^^^^^^^^^^^^^^^^C</code></p>
  
  <p>Is this known? Is there a work around?
  I need to be able to access this function and it needs to work for my project (A simple shutdown program where the user can input time and in that given time the computer will log off, shutdown etc).</p>