Skip to content

Commit 3243aae

Browse files
Add docs for --run-in-shell
1 parent fac7328 commit 3243aae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ dev also-dev
119119

120120
```
121121

122-
`--` is required to delineate the arguments handled by `es` from the command being executed. The executed command is called directly, _not_ executed in a shell. To access shell features in the executed command, you can explicitly run in a subshell:
122+
`--` is required to delineate the arguments handled by `es` from the command being executed. The executed command is called directly, _not_ executed in a shell. To access shell features in the executed command use `--run-in-shell` (or `-r`):
123123

124124
```sh
125-
> es run server dev -- sh -c 'echo $SERVICE1 | cat -'
125+
> es run -r server dev -- 'echo $SERVICE1 | cat -'
126126
dev
127127
```
128128

0 commit comments

Comments
 (0)