Added Shell=True for windows flow. Fixes file not found error while running in Windows

This commit is contained in:
Pranoy Dey 2024-10-05 17:31:29 +05:30 committed by GitHub
parent b7ccf179f1
commit 2dfa782fb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,7 +75,8 @@ class ExecProvider(object):
stdin=sys.stdin if is_interactive else None,
cwd=self.cwd,
env=self.env,
universal_newlines=True)
universal_newlines=True,
shell=True)
(stdout, stderr) = process.communicate()
exit_code = process.wait()
if exit_code != 0: