in reply to Re^3: Emulating command line pipe
in thread Emulating command line pipe

That was it, changed the signal to 9 and the script now executes in about 10 seconds. Thanks!

Cheers,
Troy