[Process] fixed fatal errors in getOutput and getErrorOutput when process was not started