wtfdocs icon indicating copy to clipboard operation
wtfdocs copied to clipboard

Document possible limitations with CmdRunner module

Open senorprogrammer opened this issue 5 years ago • 1 comments

Per the examples raised in this issue, CmdRunner cannot run everything. Some documentation and tips for trouble-shooting would be helpful.

senorprogrammer avatar Jun 02 '20 23:06 senorprogrammer

Arrived here from the aforementioned issue. I think referring to the fact that CmdRunner relies on Golang's exec.Command() is a good piece of info for troubleshooting. It does not support shell expansion, which I believe would be a common gotcha.

Off-topic, but wonder if it is possible to pipe the command output directly to stdout so that more info is available for debugging other than the exit statuses provided by Golang.

tnwei avatar Aug 23 '21 16:08 tnwei