Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
77b8d28c
Commit
77b8d28c
authored
7 years ago
by
David Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fakessh: Use local process's sys.executable.
parent
175fe7a4
master
wip-fakessh-exit-status
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mitogen/fakessh.py
mitogen/fakessh.py
+1
-1
No files found.
mitogen/fakessh.py
View file @
77b8d28c
...
...
@@ -350,7 +350,7 @@ def run(dest, router, args, deadline=None):
ssh_path
=
os
.
path
.
join
(
tmp_path
,
'ssh'
)
fp
=
file
(
ssh_path
,
'w'
)
try
:
fp
.
write
(
'#!
/usr/bin/env python
\
n
'
)
fp
.
write
(
'#!
%s
\
n
'
%
(
sys
.
executable
,)
)
fp
.
write
(
inspect
.
getsource
(
mitogen
.
core
))
fp
.
write
(
'
\
n
'
)
fp
.
write
(
'ExternalContext().main%r
\
n
'
%
((
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment