my $pid = fork; if ($pid) { # do all the other tasks here system "kill $pid"; # ready to stop the polling } else { # do the polling }
One world, one people
In reply to Re^5: Integrating shell cmd to perl script
by anonymized user 468275
in thread Integrating shell cmd to perl script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |