Wrap stat()
Wrap freopen()
Move pclose() after popen()
Refactor waitpid logic
Escape whitespace from avrdude arguments
Made some changes to split paths correctly.
Run avrdude with execvp, using sh.
Merge pull request #21 from codebendercc/testmac

Wrap some functions & escape execv arguments