mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-06 20:32:44 +08:00
fix: Resolve the FileNotFoundError while using subprocess on Windows
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user