Checks if a process runs. If not runs the executable