Chetan Gaonker | 7f4bf74 | 2016-05-04 15:56:08 -0700 | [diff] [blame^] | 1 | #!/usr/bin/env python |
2 | import pexpect | ||||
3 | import time | ||||
4 | child = pexpect.spawn('sh -c radius') | ||||
5 | child.expect('Enter PEM pass phrase:') | ||||
6 | child.sendline('whatever') | ||||
7 | while True: | ||||
8 | time.sleep(3600) |