Skip to content

Commit

Permalink
Update README.md (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Mar 7, 2024
1 parent b90df87 commit 5bb5fc3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# exec2json

```bash
exec2json /bin/bash -c 'echo this is my stdout; echo that is my stderr 1>&2' | jq
```
$ exec2json /bin/bash -c 'echo this is my stdout; echo that is my stderr 1>&2' | jq
Outputs:

```json
{
"command": [
"/bin/bash",
Expand Down

0 comments on commit 5bb5fc3

Please sign in to comment.