Run a program using the term


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.

1 comment
Comment actions Permalink

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


Please sign in to leave a comment.