1Child::Link::Proc(3) User Contributed Perl Documentation Child::Link::Proc(3)
2
3
4
6 Child::Link::Proc - Proc object used by Child.
7
9 This class inherits from:
10
11 Child::Link
12
14 $bool = $proc->is_complete()
15 Check if the child is finished (non-blocking)
16
17 $proc->wait()
18 Wait until child terminates, destroy remaining zombie process
19 (blocking)
20
21 $proc->kill($SIG)
22 Send the $SIG signal to the child process.
23
24 NOTE: kill() is unpredictable on windows, strawberry perl sends the
25 kill signal to the parent as well as the child.
26
27 $proc->pid()
28 Returns the process PID.
29
30 $proc->exit_status()
31 Will be undef unless the process has exited, otherwise it will have
32 the exit status.
33
34 Note: When you call exit($N) the actual unix exit status will be
35 bit shifted with extra information added. exit_status() will shift
36 the value back for you. That means exit_status() will return 2
37 when your child calls exit(2) see unix_exit() if you want the
38 actual value wait() assigned to $?.
39
40 $proc->unix_exit()
41 When you call exit($N) the actual unix exit status will be bit
42 shifted with extra information added. See exit_status() if you want
43 the actual value used in exit() in the child.
44
46 Most of this was part of Parallel::Runner intended for use in the
47 Fennec project. Fennec is being broken into multiple parts, this is one
48 such part.
49
51 This module is part of the Fennec project. See Fennec for more details.
52 Fennec is a project to develop an extendable and powerful testing
53 framework. Together the tools that make up the Fennec framework
54 provide a potent testing environment.
55
56 The tools provided by Fennec are also useful on their own. Sometimes a
57 tool created for Fennec is useful outside the greater framework. Such
58 tools are turned into their own projects. This is one such project.
59
60 Fennec - The core framework
61 The primary Fennec project that ties them all together.
62
64 Chad Granum exodist7@gmail.com
65
67 Copyright (C) 2010 Chad Granum
68
69 Child is free software; Standard perl licence.
70
71 Child is distributed in the hope that it will be useful, but WITHOUT
72 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
73 FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
74
75
76
77perl v5.32.1 2021-01-26 Child::Link::Proc(3)