mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-03 10:39:57 -05:00
port to python 3.7
This commit is contained in:
parent
a2c932aa5a
commit
1188a44f47
@ -25,7 +25,7 @@ apt_get_exit_code="0"
|
|||||||
## http://stackoverflow.com/a/26263980/2605155
|
## http://stackoverflow.com/a/26263980/2605155
|
||||||
## for the python way to create a pty.
|
## for the python way to create a pty.
|
||||||
|
|
||||||
python -c 'import pty, sys; pty.spawn(sys.argv[1:])' \
|
python3.7 -c 'import pty, sys; pty.spawn(sys.argv[1:])' \
|
||||||
| apt-get "$@" 2>&1 \
|
| apt-get "$@" 2>&1 \
|
||||||
| tee -a "$logfile" \
|
| tee -a "$logfile" \
|
||||||
|| { apt_get_exit_code="$?"; true; };
|
|| { apt_get_exit_code="$?"; true; };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user