X-Git-Url: http://git.onelab.eu/?p=nepi.git;a=blobdiff_plain;f=src%2Fnepi%2Futil%2Fsshfuncs.py;h=176afd39f1434e8bbb2222c0e36d625f2eb62f6e;hp=a01bdedad8d9b37b11daad973298337af7157852;hb=8bc5089b28d81eac61cbfe4810bc43f1e4902dd4;hpb=219ac627505b0eaf438a099d44a48f12e78a3671 diff --git a/src/nepi/util/sshfuncs.py b/src/nepi/util/sshfuncs.py index a01bdeda..176afd39 100644 --- a/src/nepi/util/sshfuncs.py +++ b/src/nepi/util/sshfuncs.py @@ -693,6 +693,9 @@ def _retry_rexec(args, blocking = True): for x in xrange(retry): + # display command actually invoked when debug is turned on + message = " ".join( [ "'{}'".format(arg) for arg in args ] ) + log("sshfuncs: invoking {}".format(message), logging.DEBUG) # connects to the remote host and starts a remote connection proc = subprocess.Popen(args, env = env,