Skip to content

Commit

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

```
$ exec2json /bin/bash -c 'echo this is my stdout; echo that is my stderr 1>&2' | jq
{
"command": [
"/bin/bash",
"-c",
"echo this is my stdout; echo that is my stderr 1>&2"
],
"status": 0,
"stderr": "that is my stderr\n",
"stdout": "this is my stdout\n",
"took": 0.004179875
}
```

0 comments on commit b90df87

Please sign in to comment.