write check json when process name has full path