liftoff/GateOne — Issue #64: GateOne can't run plugins/ssh/scripts/ssh_connect.py because it env unable to find python
Author: zebulon501
Created: 2011-11-08 22:25:40+00:00
State: open

Running gateone..py with a suitable python in PATH leads to env is unable to find python when it tries to launch ssh_connect.py. If the line ```env["PATH"] = os.environ['PATH']``` is uncommented from ```termio.py/Multiplex.create()```, everything is fine. The thing is that I can't understand how this can work at all, as Popen is called with a minimalistic env set: COLUMNS, LINES, and TERM are set directly in the method, and gateone.py/TerminalWebSocket.new_terminal() provides GO_TERM, GO_SESSION, and GO_SESSION_DIR for "tight integration" and "synergy". But where does PATH comes from?

This might certainly not be a issue, but I'm currently completely lost on how to make things work easily.