run() run(string $command, \Closure|null $live = null) Run a command. Parameters string $command Command which should be run \Closure|null $live Closure to capture the live output of the command
getOutput() getOutput() : mixed Return the output of the last command. Does not work well with long running commands. You should capture the live output instead. Returns mixed