I use Sublime Text 3 on my Ubuntu 16.04 for programming in C/C++/Fortran. I have to use Intel compiler which uses some environment variables like MKLROOT to work properly.
When I tried to write my custom build system I found that Sublime does not see all my environment variables that cause problems with compilation. Compare: printenv
in your shell and the output of test build system like that:
{
"shell_cmd": "printenv"
}
The question is: how to force Sublime to see all my environment variables?