Problems? Is your data what you think it is? | |
PerlMonks |
The proper way to execute echo aabbcc >> file in backroundby young_monk_love_perl (Novice) |
on Dec 06, 2013 at 10:07 UTC ( [id://1065948]=perlquestion: print w/replies, xml ) | Need Help?? |
young_monk_love_perl has asked for the wisdom of the Perl Monks concerning the following question: Hi , I am trying to execute :
And then catch the events with the AnyEvent framework. It works but my system calls creates 2 zombie process when I kill my main program. The while and tail -f commands are still executing because the system calls are executing in an other group than my main script. How can I fix this ? Thank you for your help. Regards
I finally got it working by using :
I finally understood that i needed to use a different process for each infinite running task and that if I wanted to do this in a non blocking mode I should do it on a fork. Thank you all for your help
Back to
Seekers of Perl Wisdom
|
|