Open somediego opened 1 day ago
hello,
Thanks for your issue.
We can easily add the stderr in the response. By adding AttachStderr=true in the exec command.
for the same command you will get :
ls: bb: No such file or directory
with the following json format :
{"stdout":"ls: bb: No such file or directory\n"}
splitting the response as
{"stdout":"","stderr":"No such file or directory"}
will be quite an effort.
Command works fine, but output will return "stdout" without "stderr". What make it harder to debug.
To replicate, body example:
returns:
{"stdout":""}
while stderr output:
"ls: bb: No such file or directory"