Added redirect handling and changed execve to execvp
Merge pull request #7 from gwhere/master

Redirects