Skip to content

Commit 0278d88

Browse files
committed
chore: changeset
1 parent 710fc78 commit 0278d88

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.changeset/itchy-buttons-begin.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
"@slack/cli-test": patch
3+
---
4+
5+
fix(cli-test): invoke commands without shell intermediate
6+
7+
Behind the scenes commands are now spawned direct to avoid unexpected input and output redirection or odd argument parsings. This is what happens and what changed:
8+
9+
Linux:
10+
11+
```diff
12+
- /bin/sh -c "slack trigger run --workflow #/workflows/give_kudos_workflow"
13+
+ execvp("slack", ["trigger", "run", "--workflow", "#/workflows/give_kudos_workflow"])
14+
```
15+
16+
Windows:
17+
18+
```diff
19+
- cmd.exe /s /c "slack trigger run --workflow #/workflows/give_kudos_workflow"
20+
+ CreateProcessW("slack", ["trigger", "run", "--workflow", "#/workflows/give_kudos_workflow"])
21+
```

0 commit comments

Comments
 (0)