Specifically invoke p4 as the system command.
(cmd, *k, **kw)
| 458 | |
| 459 | |
| 460 | def p4_system(cmd, *k, **kw): |
| 461 | """Specifically invoke p4 as the system command.""" |
| 462 | real_cmd = p4_build_cmd(cmd) |
| 463 | retcode = subprocess.call(real_cmd, *k, **kw) |
| 464 | if retcode: |
| 465 | raise subprocess.CalledProcessError(retcode, real_cmd) |
| 466 | |
| 467 | |
| 468 | def die_bad_access(s): |
no test coverage detected