Process stdout checking condition fixed