NAME

Data::AnyXfer::Elastic::Import::SpawnTask::Process - represents a spawned import task process

DESCRIPTION

Used by Data::AnyXfer::Elastic::Import::SpawnTask to represent a spawned task process.

METHODS

alive

if ( $process->alive ) { }

Check whether the process is still alive.

wait

$process->wait;

Blocks until the process finishes.

terminate

$process->terminate;

Attempts to terminate the process. It will try SIGHUP, SIGQUIT, SIGINT, and SIGKILL, once a second in turn (maximum try count is 5), before giving up.

COPYRIGHT

This software is copyright (c) 2019, Anthony Lucas.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.