mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 790995 - Part 2: Tie stdin to executed processes; r=me DONTBUILD
This commit is contained in:
parent
b1e5faf273
commit
82afdd8755
@ -6,6 +6,7 @@ from __future__ import print_function, unicode_literals
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
class BaseBootstrapper(object):
|
||||
"""Base class for system bootstrappers."""
|
||||
@ -32,7 +33,7 @@ class BaseBootstrapper(object):
|
||||
|
||||
print('Executing as root:', subprocess.list2cmdline(command))
|
||||
|
||||
subprocess.check_call(command)
|
||||
subprocess.check_call(command, stdin=sys.stdin)
|
||||
|
||||
def yum_install(self, *packages):
|
||||
command = ['yum', 'install']
|
||||
|
Loading…
Reference in New Issue
Block a user