Run a program using the term

Hello,

Currently, I work with the termcap & the terminal, but when I launch my progam, who get the "TERM" env variable (I use linux), my program crash because when I run it using CMake, there isn't a "TERM" variable.

So, how can I run a program using a term emulator (like xterm) with the run action of CLion ?

I joined my program in the attachments.

Thank you for your help.



Attachment(s):
my_select.tar.gz
1 comment
Comment actions Permalink

We are currently working on pty support, could you please leave a comment here CPP-1801?

0

Please sign in to leave a comment.