Now you don't have to worry about the whole "grep in ps" work-around.while (1) { if (not grep { /soffice\.bin -quickstart/ } `ps ax`) { sleep 5; system('/usr/lib/openoffice/program/soffice.bin -quickstart -plugi +n'); } }
--
[ e d @ h a l l e y . c c ]
In reply to Re: OpenOffice Quickstarter (Linux) in Perl
by halley
in thread OpenOffice Quickstarter (Linux) in Perl
by mpolo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |