Added exec and spawn options