fix: Resolve the FileNotFoundError while using subprocess on Windows

This commit is contained in:
xucong053
2021-07-18 15:53:03 +08:00
committed by GitHub
parent cc66646116
commit dd05e920fa

View File

@@ -18,7 +18,7 @@ class TestScaffold(unittest.TestCase):
# run demo testcases
try:
subprocess.check_call(["hrun", project_name])
subprocess.check_call(["hrun", project_name] shell=True)
except subprocess.SubprocessError:
raise
finally: