Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd: stderr output not returned #201

Open
vranki opened this issue Mar 31, 2022 · 1 comment
Open

cmd: stderr output not returned #201

vranki opened this issue Mar 31, 2022 · 1 comment

Comments

@vranki
Copy link
Owner

vranki commented Mar 31, 2022

Error output of the commands is not returned to user. Test with ls /asdfasdf doesn't return the error message it should.

@xPMo
Copy link
Collaborator

xPMo commented Apr 2, 2022

My bot's !eval supports stdout, stderr, and exit code. I don't use !cmd, so I don't know what information is typically important. Just consider this permission to lift and take whatever formatting logic you want from !eval.

Sidenote; I'd recommend adding the timeout handling, since commands can print something before timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants