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 234b587584
commit 6be86e33f0

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: