mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
quiet tty command output
This commit is contained in:
parent
de4e6d82a3
commit
61865db2cc
@ -70,7 +70,7 @@ if __name__ == '__main__':
|
||||
|
||||
input = json.load(sys.stdin)
|
||||
if sys.platform != 'win32':
|
||||
tty = subprocess.run('tty')
|
||||
tty = subprocess.run('tty', stdout=subprocess.PIPE)
|
||||
if tty.returncode == 0:
|
||||
sys.stdin = open('/dev/tty')
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user