X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fneco%2Futil%2Fsshfuncs.py;h=982e23afa989df21f5b9f55062484f4cdbf5df4b;hb=d32dba78910bd348b9bbeb0e8242d31bfd39c0a7;hp=043bc64dabbad7b215fe163b8e90931bb440b371;hpb=7a9e71714aa04620778742135637c9f1ed8c499b;p=nepi.git diff --git a/src/neco/util/sshfuncs.py b/src/neco/util/sshfuncs.py index 043bc64d..982e23af 100644 --- a/src/neco/util/sshfuncs.py +++ b/src/neco/util/sshfuncs.py @@ -239,7 +239,8 @@ def rexec(command, host, user, for x in xrange(retry): # connects to the remote host and starts a remote connection - proc = subprocess.Popen(args, + proc = subprocess.Popen(args, + env = env, stdout = subprocess.PIPE, stdin = subprocess.PIPE, stderr = subprocess.PIPE)