method command
| 1 | class Proc |
| 1.1 | (Proc) method command |
| 2 | class Proc::Async |
| 2.1 | (Proc::Async) method command |
Documentation for method command assembled from the following types:
class Proc
From Proc
(Proc) method command
method command(Proc: --> List)
The command method is an accessor to a list containing the arguments that were passed when the Proc object was executed via spawn or shell or run.
class Proc::Async
From Proc::Async
(Proc::Async) method command
method command(Proc::Async: --> List)
Available as of v6.d.
Returns the command and arguments used for this Proc::Async object:
my := Proc::Async.new: 'cat', 'some', 'files';.command.say; # OUTPUT: «(cat some files)»