repositorypackage
0.0.0-20240312131434-23ab8fe12a00
Repository: https://github.com/automattic/exec2json.git
Documentation: pkg.go.dev
# README
exec2json
exec2json /bin/bash -c 'echo this is my stdout; echo that is my stderr 1>&2' | jq
Outputs:
{
"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
}