watchdog icon indicating copy to clipboard operation
watchdog copied to clipboard

watchmedo argument to set shell to something other than /bin/sh

Open jogomu opened this issue 2 years ago • 1 comments

Currently the executable argument is not passed. A literal is shown in the example below but I believe this should default to /bin/sh and allow an override through an argument. Of course sh can start bash too but this seems wasteful.

subprocess.Popen(comman, shell=True, executable='/bin/bash')

jogomu avatar Sep 21 '22 22:09 jogomu

Are you referring to documentation or code? Please provide a reference. Thanks!

kurtmckee avatar Oct 11 '22 12:10 kurtmckee