Moved dupandexecve.rb to shell.rb due to pull request coments.