Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
conda
installer
Commits
1391e3f1
Commit
1391e3f1
authored
Oct 12, 2021
by
Paul McCarthy
🚵
Browse files
BF: Pass password as byte sequence (py3)
parent
f4c99ad7
Changes
1
Hide whitespace changes
Inline
Side-by-side
fslinstaller.py
View file @
1391e3f1
...
...
@@ -1038,7 +1038,7 @@ class Process(object):
cmd
=
[
'sudo'
,
'-S'
,
'-k'
]
+
cmd
proc
=
sp
.
Popen
(
cmd
,
**
kwargs
)
proc
.
stdin
.
write
(
'{}
\n
'
.
format
(
password
))
proc
.
stdin
.
write
(
'{}
\n
'
.
format
(
password
)
.
encode
()
)
return
proc
...
...
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