Skip to content
Myr

`Popen()` list-argument pager process without shell=True (#3055)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Rowlando13 · committed by GitHub · parents 35e6a78, 3f5eea3 · Browse files · 2 files+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:src/click/_termui_impl.py+1 added-1 removed
448 unmodified lines
449 color = True450451 c = subprocess.Popen(452 [str(cmd_path)] + cmd_params,453 shell=True,453 shell=False,454 stdin=subprocess.PIPE,455 env=env,456 errors="replace",457 text=True,
390 unmodified lines
modified:CHANGES.rst+2 added
3 unmodified lines
4--------------56Unreleased78- Don't discard pager arguments by correctly using subprocess.Popen. :issue:`3039` :pr:`3055`9101112Version 8.3.013--------------1415Released 2025-09-17
1286 unmodified lines