title: Command to close an application of console?
body: <p>I need to close the console when the user selects a menu option.</p>
  
  <p>I tried using <code>close()</code> but it did not work..</p>
  
  <p>how can I do this?</p>