We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35fac6c commit cd40baeCopy full SHA for cd40bae
1 file changed
dotdrop/action.py
@@ -92,7 +92,8 @@ def execute(self, templater=None, debug=False):
92
self.log.dbg(f'action cmd: \"{cmd}\"')
93
self.log.sub(f'executing \"{cmd}\"')
94
try:
95
- ret = subprocess.call(cmd, shell=True)
+ shellexec = os.environ.get("SHELL", "/bin/sh")
96
+ ret = subprocess.call(cmd, shell=True, executable=shellexec)
97
except KeyboardInterrupt:
98
self.log.warn(f'{self.descr} interrupted')
99
if ret != 0:
0 commit comments