|pid ($PID, $TIMEOUT) -> $?|undef||
Accepts PID and an optional deadline/timeout, returns either the process exit status,
or undef on timeout. The corresponding lambda is new_pid :
|signal ($SIG, $TIMEOUT) -> boolean||
Accepts signal name and optional deadline/timeout, returns 1 if the signal was caught,
or undef on timeout. The corresponding lambda is new_signal :
|spawn (@LIST) -> ( output, $?, $!)||
Calls pipe open on @LIST, reads all data printed by the child process,
and awaits for the process to finish. Returns three scalars - collected output,
process exitcode $?, and an error string (usually $!). The corresponding
lambda is new_process :
Lambda objects created by new_process have an additional field pid initialized with the process pid value.
pid and new_pid dont work on win32 because win32 doesnt use SIGCHLD/waitpid. Native implementation of spawn and new_process doesnt work for the same reason on win32 as well, therefore those were reimplemented using threads, and require a threaded perl.
IO::Lambda, perlipc, IPC::Open2, IPC::Run
Dmitry Karasik, <firstname.lastname@example.org>.
|perl v5.20.3||IO::LAMBDA::SIGNAL (3)||2012-03-14|