now able to get error: 'python: command not found'

This commit is contained in:
Steven Robertson 2019-10-29 10:21:07 -07:00
parent defa5ef853
commit 2ff48316f6
1 changed files with 4 additions and 4 deletions

View File

@ -1471,10 +1471,10 @@ class Connection(object):
# quoting the entire command necessary to invoke python supports
# complex python_paths
return ["'" + python_path + ' -c '
+ '"\'import codecs,os,sys;_=codecs.decode;'
'exec(_(_("%s".encode(),"base64"),"zip"))\'"' % (encoded.decode(),),
"'"]
return ["'" + python_path, '-c',
'import codecs,os,sys;_=codecs.decode;'
'exec(_(_("%s".encode(),"base64"),"zip"))\'' % (encoded.decode(),)
]
"""
return self.get_python_argv() + [