user
Task

Run either the   **ls**   system command   (**dir**   on Windows),   or the   **pause**   system command.

Related task

* Get system command output
assistant
(formerly Perl 6)

```
run "ls" orelse .die; # output to stdout

my @ls = qx/ls/;    # output to variable

my $cmd = 'ls';
@ls = qqx/$cmd/;  # same thing with interpolation
```