create two named pipes and compile [0], perfect - that is, if you don't mind bash's job output. :-) hmm, one might easily enough extend the program to fork() and exec() inside and make it usable in a sudo/xargs kind of way... [0] http://sprunge.us/XaMf?c cheers! mar77i