Remote development does not run ~/.bashrc on the remote host while compiling

Completed

I am trying to use remote development according to https://www.jetbrains.com/help/clion/remote-projects-support.html. However, it seems that the ~/.bashrc script on the remote host is not invoked when the compiling is running. May I know how to configure CLion or the remote host such that the remote compiling will always invoke ~/.bashrc first?

The local machine is with Ubuntu 18.04 and the remote machine is with Ubuntu 16.04. There are important environment variables in ~/.bashrc of the remote host to have the compilation successful. 

Thank you in advance for the help!

1

Please sign in to leave a comment.