Added flags for process_alloc() function to enable redirecting stderr.

Changed diff process creation to redirect stderr to stdout.