List Info

Thread: Signal on process end




Signal on process end
user name
2006-08-10 12:09:31
Sorry this is slightly OT, but: having started a process
with:

my ($write, $read);
my $error = IO::Handle -> new;
my $pid = open3($write, $read, $error, $cmd);

How best do I see when the process has finished?

It would be nice if there were some watch like

Glib::IO -> add_watch

or event I could set up. But I can't find anything of the
like.

Thanks

Jeff
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Signal on process end
user name
2006-08-10 12:36:52
* Ratcliffe, Jeffrey (Peters)
<Jeffrey.Ratcliffe.Externaleads.com> [2006-08-10
14:15]:
> How best do I see when the process has finished?

You try to read from it and get undef.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/&g
t;
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )