Skip to content

Commit d2c3fbc

Browse files
Update scripts/gen_coverage.py
Use `sys.executable` instead of `"python"` in `check_output` call
1 parent 9543c23 commit d2c3fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gen_coverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def run(
2424
)
2525

2626
setup_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
27-
dpctl_cmake_dir = subprocess.check_output(["python", "-m", "dpctl", "--cmakedir"])
27+
dpctl_cmake_dir = subprocess.check_output([sys.executable, "-m", "dpctl", "--cmakedir"])
2828

2929
cmake_args = [
3030
sys.executable,

0 commit comments

Comments
 (0)