Added capability to prepend pre and post commands to a process.