User forums > Using Code::Blocks
Konsole as Terminal
(1/1)
koso:
Hello,
I am using konsole as terminal. Problem is that compiled programs ignores "Execution working directory" setting and uses my home directory. It is ignored even if I set it to absolute path.
Default xterm works as expected.
Any idea, how to solve this problem?
My C:B settings:
shell: /bin/sh -c
terminal command: konsole -e
system: 32bit Kubuntu, KDE4.3.1, latest Jens debian C::B build.
Ceniza:
Here is the answer.
In short, you have to use the --workdir option.
What I don't know is if there is a variable that can be used to get the Execution Working Directory.
Jenna:
It's $WORKDIR,
whole command:
--- Code: ---konsole --workdir $WORKDIR --title $TITLE -e
--- End code ---
Don't use -T for the title.
Navigation
[0] Message Index
Go to full version