Ok so i need to wait until process will exit and read output from file that process wrote, am i right?