If allow to add/extend environment variables in the Connection class, they can be reused wherever the Popen helpers are called.
This would avoid having to pass in the environment variables to each call that is made.
This is problem is specifically meant to avoid No such file errors on remote hosts when executables cannot be found because the $PATH is wrong.
If allow to add/extend environment variables in the
Connectionclass, they can be reused wherever thePopenhelpers are called.This would avoid having to pass in the environment variables to each call that is made.
This is problem is specifically meant to avoid
No such fileerrors on remote hosts when executables cannot be found because the$PATHis wrong.