Thanks for your input. I know about the copy() function, but was wondering if there was an easier, more efficient way to redirect the files. I might end up requesting permission to patch the called programs to make them output to STDOUT, or to accept arguments that change their default output directories.