exec
module methods:
Command
Returns the Cmd struct to execute the named program with the given arguments.
(exec Command name(string) args(string)...) -> cmd
$
Alias of Command.
(exec $ name(string) args(string)...) -> cmd
Pipe
Executes cmd
one by one in the pipeline, and returns
a 2-elements list, where first is stdout
of last cmd, and
second is stderr
of cmd
. It returns an error
, if any.
(exec Piple cmd(cmd)...) -> [stdout, stderr]
|
Alias of Pipe.
(exec | cmd(cmd)...) -> [stdout, stderr]