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 @@ -48,6 +48,7 @@ method new(Proc:U:
48
48
Str:D :$nl = "\n",
49
49
--> Proc:D)
50
50
sub run(
51
+ *@args,
51
52
:$in = '-',
52
53
:$out = '-',
53
54
:$err = '-',
@@ -57,8 +58,7 @@ sub run(
57
58
Str:D :$enc = 'UTF-8',
58
59
Str:D :$nl = "\n",
59
60
:$cwd = $*CWD,
60
- Hash() :$env = %*ENV,
61
- *@args
61
+ Hash() :$env = %*ENV
62
62
--> Proc:D)
63
63
sub shell(
64
64
$cmd,
@@ -75,7 +75,7 @@ sub shell(
75
75
--> Proc:D)
76
76
= end code
77
77
78
- C < new > creates a new C < Proc > object, whereas C < run > or C < shell > create one, and spawns it
78
+ C < new > creates a new C < Proc > object, whereas C < run > or C < shell > create one and spawn it
79
79
with the command and arguments provided in C < @args > or C < $cmd > , respectively.
80
80
81
81
C < $in > , C < $out > and C < $err > are the three
You can’t perform that action at this time.
0 commit comments