subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def _run_repo(name: str, cwd: str, test_cmd: str, timeout: float) -> dict: start = time.monotonic() try: proc = subprocess.Popen( ["/bin/bash", "-c", test_cmd], cwd=cwd, stdout=subprocess.PIPE,- Confidence
- 96% confidence
- Finding
- proc = subprocess.Popen( ["/bin/bash", "-c", test_cmd], cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, start_new_session
