Skip to content

Commit 560d00a

Browse files
committed
added --tty flag to allow pseudo tty
1 parent ea490a7 commit 560d00a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

manof/image.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ def run(self):
8080
if self.interactive:
8181
command += '--interactive '
8282

83+
# allocate a pseudo-tty
84+
if self.tty:
85+
command += '--tty '
86+
8387
# add rm if needed
8488
if self.rm_on_run:
8589
command += '--rm '
@@ -441,6 +445,10 @@ def detach(self):
441445
def interactive(self):
442446
return False
443447

448+
@property
449+
def tty(self):
450+
return False
451+
444452
@property
445453
def memory(self):
446454
"""

0 commit comments

Comments
 (0)