Good question :) I actually most of runSubProcess() function, only making necessary changes