Fixed a small bug in the run_get_stdout function.
Merge pull request #319 from hjoliver/small-bug-fix

Fixed a small bug in the run_get_stdout function.