Adding option to start a process in the foreground