mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
comment
This commit is contained in:
parent
18e23af784
commit
f6bc188485
@ -21,6 +21,11 @@ trap "cleanup" EXIT
|
|||||||
|
|
||||||
apt_get_exit_code="0"
|
apt_get_exit_code="0"
|
||||||
|
|
||||||
|
## Thanks to:
|
||||||
|
## dmw
|
||||||
|
## http://stackoverflow.com/a/26263980/2605155
|
||||||
|
## for the python way to create a pty.
|
||||||
|
|
||||||
python -c 'import pty, sys; pty.spawn(sys.argv[1:])' \
|
python -c 'import pty, sys; pty.spawn(sys.argv[1:])' \
|
||||||
| apt-get "$@" 2>&1 \
|
| apt-get "$@" 2>&1 \
|
||||||
| tee -a "$logfile" \
|
| tee -a "$logfile" \
|
||||||
|
Loading…
Reference in New Issue
Block a user