equal
deleted
inserted
replaced
83 "run the command in sys.argv" |
83 "run the command in sys.argv" |
84 _initstdio() |
84 _initstdio() |
85 req = request(pycompat.sysargv[1:]) |
85 req = request(pycompat.sysargv[1:]) |
86 err = None |
86 err = None |
87 try: |
87 try: |
88 status = (dispatch(req) or 0) & 255 |
88 status = (dispatch(req) or 0) |
89 except error.StdioError as e: |
89 except error.StdioError as e: |
90 err = e |
90 err = e |
91 status = -1 |
91 status = -1 |
92 if util.safehasattr(req.ui, 'fout'): |
92 if util.safehasattr(req.ui, 'fout'): |
93 try: |
93 try: |