Use safer shell commands and avoid Dir.chdir
Restrict the environment for shell commands
Merge pull request #3 from jacobvosmaer/shell_commands

Safer shell command invocations