Test2::Harness::IPC::Process - Base class for processes controlled by Test2::Harness::IPC.
All processes controlled by Test2::Harness::IPC should subclass this one.
- $int = $proc->exit
Exit value, if set. Otherwise
- $stamp = $proc->exit_time
Timestamp of the process exit, if set, otherwise
- $pid = $proc->pid
Pid of the process, if it has been started.
- $cat = $proc->category
Set at construction,
'default'if not provided.
Set the process id.
- $opt->set_exit($ipc, $exit, $time)
Set the process as complete. $exit should be the exit value. $time should be a timestamp. $ipc is an instance of Test2::Harness::IPC.
- $hashref = $opt->spawn_params()
Used when spawning the process, args go to
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 <firstname.lastname@example.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.