Fixed /exit problems with child proc