To prevent the ps ax|grep combo from finding itself, I encode one char within a character class like this:
ps ax|grep '[s]office.bin -quickstart'
I would maybe move the whole loop out of the program and put it into a cron job that runs every minute instead, but other than that, I'm not exactly sure what you're looking for.
In reply to Re: OpenOffice Quickstarter (Linux) in Perl
by Corion
in thread OpenOffice Quickstarter (Linux) in Perl
by mpolo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |