User forums > Using Code::Blocks

Console app run/debugging for MacOSX

<< < (3/5) > >>

afb:
Also, I revised the wxMac code to not use AppleScript quotes ("&quote&") unless your command actually contains $SCRIPT.

bnilsson:
As usual, I feel a bit stupid, but this is what I get using Terminal...

--- Quote ---Last login: Fri Dec  1 15:27:09 on ttyp6
Welcome to Darwin!
You have mail.
$SCRIPT
executing /etc/profile...
executing /etc/bashrc...
executing .bash_login...
mc2-p039:~ bnilsson$ $SCRIPT
mc2-p039:~ bnilsson$

--- End quote ---

afb:
the code snippets above was for Code::Blocks.
$TITLE then gets replaced with the projects title,
and $SCRIPT gets replaced with an AppleScript

Unless you have some complex settings, the
easiest is probably to move away the old folder
at ~/Library/Application\ Support/CodeBlocks ?

bnilsson:
Sorry if I was not clear.
The quote was from the Terminal output when I had introduced

--- Quote ---osascript -e 'tell app "Terminal" to do script "$SCRIPT"'
--- End quote ---
in the Environment settings and done "run" of my console app from within Code::Blocks.

Removing ~/Library/Application \Support/codeblocks did not make any difference.

afb:
You did install the patch, right ?

Anyway, leave it for now and make another try when it's in the trunk...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version