docopts icon indicating copy to clipboard operation
docopts copied to clipboard

check cheksum docopts in path can be python version and not golang compiled

Open Sylvain303 opened this issue 7 years ago • 0 comments

If you relay on $PATH to execute docopts and docopts is the python version, you get misbehavior.

Especially using bash wrapper doctops.sh which doesn't stop on -h.

So some checks should be added inside docopts.sh wrapper to detect wrong executable to avoid caller script to continue its execution. Which may be quite wrong if the scripts rely on docopts to naturally stops it execution on -h

Sylvain303 avatar Nov 08 '18 14:11 Sylvain303