Test2::Harness::IPC::Process - Base class for processes controlled by Test2::Harness::IPC.
All processes controlled by Test2::Harness::IPC should subclass this one.
Exit value, if set. Otherwise undef.
undef
Timestamp of the process exit, if set, otherwise undef.
Pid of the process, if it has been started.
Set at construction, 'default' if not provided.
'default'
Set the process id.
Set the process as complete. $exit should be the exit value. $time should be a timestamp. $ipc is an instance of Test2::Harness::IPC.
Used when spawning the process, args go to run_cmd() from Test2::Harness::Util::IPC.
run_cmd()
The base class throws an exception if this method is called.
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.
Copyright 2020 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/
To install Test2::Harness, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test2::Harness
CPAN shell
perl -MCPAN -e shell install Test2::Harness
For more information on module installation, please visit the detailed CPAN module installation guide.