Commit 7bcd3342 authored by Adrian DC's avatar Adrian DC
Browse files

fix: resolve #151: enforce WinPTY and improve coverage

parent 0ecd1806
Loading
Loading
Loading
Loading
+3 −0
Changes for gitlabci_local/main.py: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -258,9 +258,12 @@ def main():
            else:
                _environ = dict(environ)
                _environ[Bundle.ENV_WINPTY] = 'true'
                try:
                    process = Popen([winpty] + argv, env=_environ)
                    process.wait()
                    exit(process.returncode)
                except OSError:
                    pass

        # Unsupported interactive terminal
        print(' %s%s: %sERROR: %sUnsupported non-interactive context%s...%s' %