[MERGE] forward port branch saas-15 up to 81003c82e0
This commit is contained in:
@@ -63,6 +63,7 @@ class Shell(Command):
|
||||
|
||||
def console(self, local_vars):
|
||||
if not os.isatty(sys.stdin.fileno()):
|
||||
local_vars['__name__'] = '__main__'
|
||||
exec sys.stdin in local_vars
|
||||
else:
|
||||
if 'env' not in local_vars:
|
||||
|
||||
Reference in New Issue
Block a user