Fixes #91
Use proc.communicate()
Merge pull request #140 from ptnapoleon/master

Fixes #91