title: How to hide console window in Mac OS (gcc compiler)?
body: <p>I write an application with Code::Blocks IDE in Mac OS (C++ application).</p>
  
  <p>CodeBlocks uses gcc to compile the source code.</p>
  
  <p>When I double click on the output of the project (executable binary file), my application executes correctly but a console application shown. My application is a background application without any reading or writing to console, and I add it to startup items. I don't want when I logon, a balnk console (of my application) shown. I want to hide the console window.</p>
  
  <p>How to hide console window in Mac OS with gcc compiler?</p>