one could, instead of using system, use fork/read/exec with a tied handle, which would allow perl constucts ... assuming the program to start was also perl. If the program is not perl, i agree with the pipe solution.
can't sleep clowns will eat me
-- MZSanford