rollback childprocess version to work with shell