change executing linux command and setting pid #4
skip cancel when command pid is blank #8