| Conditions | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | #!/usr/bin/env/python |
||
| 24 | def main(args): |
||
| 25 | reaper = GrimReaper() |
||
| 26 | |||
| 27 | # How long this process will run |
||
| 28 | sleep = random.randint(1, 10) |
||
| 29 | |||
| 30 | # How many seconds must pass before the GrimReaper will kill this process |
||
| 31 | kill_after = random.randint(1, 10) |
||
| 32 | |||
| 33 | open_close(reaper, sleep, kill_after) |
||
| 34 | |||
| 43 |