File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
class Proc { ... }
8
8
9
- C < Proc > is a representation of a an invocation of an external
9
+ C < Proc > is a representation of an invocation of an external
10
10
process. It provides access to the input, output and error stream as well as
11
11
the exit code. It is typically created through the C < run > subroutine:
12
12
@@ -50,15 +50,15 @@ second command, you can do
50
50
*@args
51
51
) returns Proc:D
52
52
53
- C < new > creates a new C < Proc > object, whereas C < run > creates one, and spwans it
53
+ C < new > creates a new C < Proc > object, whereas C < run > creates one, and spawns it
54
54
with the command and arguments provided in C < @args > .
55
55
56
56
C < $in > , C < $out > and C < $err > are the three
57
57
standard streams of the to-be-launched program, and default to C < "-" > , which
58
58
means they inherit the stream from the parent process. Setting one (or more)
59
59
of them to C < True > makes the stream available as an L < IO::Pipe > object of the
60
60
same name, so for example C < $proc.out > . Or you can pass an existing
61
- L < IO::Handle > objet (for example IO::Pipe) in, in which case this handle is
61
+ L < IO::Handle > object (for example IO::Pipe) in, in which case this handle is
62
62
used for the stream.
63
63
64
64
C < $bin > controls whether the streams are handled as binary (i.e.
You can’t perform that action at this time.
0 commit comments