Remove ProcessState abstraction as we cant get exit code