http://qs321.pair.com?node_id=277271


in reply to reading output from another script

It's already been done.

No sense reinventing the wheel.