redirect process output to file to avoid freeze that happens in some cases
Merge pull request #9 from WojtekKowaluk/appcontext

redirect process output to file to avoid freeze that happens in some cases