Author Topic: No terminal output after "run" (Linux)  (Read 5030 times)

Offline Iwsimn

  • Single posting newcomer
  • *
  • Posts: 2
No terminal output after "run" (Linux)
« on: March 29, 2012, 09:11:52 am »
Hi all !

Im using Archlinux with KDE Plasma and installed the New Version of Codeblocks.

Now my problem:
I wrote a simple "hello world" programm, compiled it and when i "run" it. Nothing happens.
After that i edited my enviroment settings and set Terminal to "console".

Now when i "run" my code the console pops up but its empty.

I know Codeblocks from windows, there i can "run" my code and the cmd opens with the code results.
How do i achieve the same on Linux ?

Thanks for your time.

Greetz Kev

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: No terminal output after "run" (Linux)
« Reply #1 on: March 29, 2012, 09:57:23 am »
"console"? I thought it was "konsole", wasn't it? What is the exact string you set in the options for the terminal?
Keep in mind that all terminal emulators (xterm, gnome-terminal, konsole, etc) have different options for the same thing.
And so the terminal strings should be different. Search the forum for valid strings, I think this was discussed before.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Iwsimn

  • Single posting newcomer
  • *
  • Posts: 2
Re: No terminal output after "run" (Linux)
« Reply #2 on: March 30, 2012, 07:35:08 am »
Ouch !

Bad mistake from me. I thought the english translation for Konsole is console.
With your hint i a found this topic:

http://forums.codeblocks.org/index.php/topic,11245.msg76594.html#msg76594

So this worked for me.

konsole --workdir $WORKDIR --title $TITLE -e

Thanks a lot !