Skip to content

Commit 831f466

Browse files
committed
fix: correct script execution command in _run_script function
Signed-off-by: Frost Ming <me@frostming.com>
1 parent a825b7b commit 831f466

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/findpython/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@lru_cache(maxsize=1024)
1919
def _run_script(executable: str, script: str, timeout: float | None = None) -> str:
2020
"""Run a script and return the output."""
21-
command = [executable, "-EsSc", script]
21+
command = [executable, "-Ic", script]
2222
logger.debug("Running script: %s", command)
2323
return subprocess.run(
2424
command,

0 commit comments

Comments
 (0)