Files
2010-09-06 01:32:36 -04:00

11 lines
235 B
Python

import os, plac, ishelve2
try:
fifo = os.mkfifo('/tmp/x')
except OSError: # fifo exists
pass
if __name__ == '__main__':
i = plac.Interpreter(ishelve2.main())
i.execute(iter(open('/tmp/x').readline, ''), verbose=True)