(commandline)
| 533 | sys.stdout.write(data); sys.stdout.flush() |
| 534 | |
| 535 | def captureCommand(commandline): |
| 536 | fd = os.popen(commandline, 'r') |
| 537 | data = fd.read() |
| 538 | xit = fd.close() |
| 539 | if xit is not None: |
| 540 | sys.stdout.write(data) |
| 541 | raise RuntimeError("command failed: %s"%(commandline,)) |
| 542 | |
| 543 | return data |
| 544 | |
| 545 | def getTclTkVersion(configfile, versionline): |
| 546 | """ |
no test coverage detected
searching dependent graphs…