Merge pull request #261 from j2sol/master

Use subprocess instead of commands