Skip to content

Commit 2dfa782

Browse files
authored
Added Shell=True for windows flow. Fixes file not found error while running in Windows
1 parent b7ccf17 commit 2dfa782

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kubernetes/base/config/exec_provider.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ def run(self, previous_response=None):
7575
stdin=sys.stdin if is_interactive else None,
7676
cwd=self.cwd,
7777
env=self.env,
78-
universal_newlines=True)
78+
universal_newlines=True,
79+
shell=True)
7980
(stdout, stderr) = process.communicate()
8081
exit_code = process.wait()
8182
if exit_code != 0:

0 commit comments

Comments
 (0)