Re: Signal on process end
- From: "'A. Pagaltzis'" <pagaltzis gmx de>
- To: Gtk2-Perl list <gtk-perl-list gnome org>
- Subject: Re: Signal on process end
- Date: Thu, 10 Aug 2006 20:04:35 +0200
* Ratcliffe, Jeffrey (Peters) <Jeffrey Ratcliffe External eads com> [2006-08-10 16:35]:
How best do I see when the process has finished?
You try to read from it and get undef.
Yes, well that implies that I have to find a way of polling it
without blocking.
I was hoping that there was a watch or event I could use.
See `perldoc -f select`.
I was also wondering about a thread to do
waitpid($pid, 0);
and then destroy the dialog.
But I was hoping I could avoid using threads.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]