AnyEvent-Subprocess
view release on metacpan or search on metacpan
- allow Job delegate to receive child return value and exception
- don't "exit 0" in the child handler
- remove our own exception-printing code
- add PrintError delegate (use this instead)
- fix cloning of Job delegates (they are cloned correctly now)
- make classes immutable
- doc fixes (but not everything)
- dependency fixes
0.01 Thu Feb 4 04:41:11 CST 2010
- delegates get the instance they are attached to
- run can be called multiple times
- lots more docs and examples (still needs more!)
0.00_01 Mon Oct 26 03:13:21 CDT 2009
- developer preview
* needs a lot more docs
* a few design decisions still in question
- should delegates get the instance they are attached to?
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.
To do so, attach the following notices to the program. It is safest to
attach them to the start of each source file to most effectively convey
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
lib/AnyEvent/Subprocess/DefaultDelegates.pm view on Meta::CPAN
=head2 CommHandle
Provides a (bidirectional) socket to be shared between the child and
parent. Optional arg name provides delegate name (so you can have
more than one, if desired).
Optional arg name controls name; defaults to 'comm.
=head2 Pty
Provides the child with stdin and stdout attached to a pseudo-tty, and
provides the parent with a delegate to control this. Optional arg
stderr controls whether or not the child's stderr will also go to the
pty; defaults to no.
Optional arg name controls name; defaults to 'pty'.
=head2 CompletionCondvar
Supplies a delegate that is a L<AnyEvent::Condvar> that is sent the
child exit information ("Done class") when the child process exits.
( run in 1.244 second using v1.01-cache-2.11-cpan-e1769b4cff6 )