2
votes
2answers
173 views

pgrep faster than it takes to start process, use sleep?

I'm having some issues with my CSH script and the command: set XVFBCHK2 = `pgre -f 'Xvfb' | wc -l` It seems to return inconsistent values. When it should return 1 it returns 0. I'm pretty sure ...