(cmd)
| 60 | |
| 61 | |
| 62 | def exec(cmd): |
| 63 | if WINDOWS: |
| 64 | rtn = run_process(cmd, stdin=sys.stdin, check=False).returncode |
| 65 | sys.exit(rtn) |
| 66 | else: |
| 67 | sys.stdout.flush() |
| 68 | sys.stderr.flush() |
| 69 | os.execvp(cmd[0], cmd) |
| 70 | |
| 71 | |
| 72 | def exit_with_error(msg, *args): |
no test coverage detected