read from the process you have created