check for substring in stdout
