Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Blocks4moi on December 13, 2009, 09:07:18 am

Title: Code::Blocks on MacOSX. How can I have only one Terminal open?
Post by: Blocks4moi on December 13, 2009, 09:07:18 am
 Anyone know how to make everything run on the same Terminal? CB opens a new terminal every time I run a program. I would like to be able to change this setting. I'm using Leopard OS on a MacBook.
Title: Re: Code::Blocks on MacOSX. How can I have only one Terminal open?
Post by: afb on December 14, 2009, 05:17:58 pm
You need to improve the default AppleScript that opens the Terminal:


tell app "Terminal"
    activate
    do script "$SCRIPT"
end tell


It's available in the settings, under Settings > Environment > General