Rewrite to use popen() instead of broken fork/pipe logic.
Authored by: sms00 2003-06-05
Parent: [r1878]
Child: [r1880]