Forks run properly for foreground commands, all commands currently go to foreground