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
b54fd6db
Commit
b54fd6db
authored
Oct 21, 2021
by
Paul McCarthy
🚵
Browse files
Merge branch 'bf/flush' into 'master'
Bf/flush See merge request fsl/conda/installer!27
parents
a489e724
39ad8a56
Changes
1
Hide whitespace changes
Inline
Side-by-side
fslinstaller.py
View file @
b54fd6db
...
...
@@ -31,11 +31,8 @@ import tempfile
import
threading
import
traceback
# TODO check py2/3
try
:
import
urllib.request
as
urlrequest
except
ImportError
:
import
urllib
as
urlrequest
try
:
import
urllib.request
as
urlrequest
except
ImportError
:
import
urllib
as
urlrequest
try
:
import
queue
except
ImportError
:
import
Queue
as
queue
...
...
@@ -51,7 +48,7 @@ log = logging.getLogger(__name__)
__absfile__
=
op
.
abspath
(
__file__
).
rstrip
(
'c'
)
__version__
=
'1.4.
2
'
__version__
=
'1.4.
3
'
"""Installer script version number. This must be updated
whenever a new version of the installer script is released.
"""
...
...
@@ -1050,6 +1047,7 @@ class Process(object):
cmd
=
[
'sudo'
,
'-S'
,
'-k'
]
+
cmd
proc
=
sp
.
Popen
(
cmd
,
**
kwargs
)
proc
.
stdin
.
write
(
'{}
\n
'
.
format
(
password
).
encode
())
proc
.
stdin
.
flush
()
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