Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit 6dc7326

Browse files
committed
[bugfix] always use shebang
1 parent 2badf5d commit 6dc7326

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/changelog.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
Changelog
22
---------
33

4+
.. _release-0.9.1:
5+
6+
0.9.1 - TBD
7+
* Always use shebang
8+
49
.. _release-0.9.0:
510

6-
0.9.0 - TBD
11+
0.9.0 - 12 July 2021
712
* Python3 only
813
* New manager API
914
* New docs

venvstarter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,12 +672,11 @@ def start_program(self, args):
672672
if cmd is None:
673673
return
674674

675-
cmd = [*cmd, *(args or ())]
675+
cmd = [str(q) for q in Shebang(*cmd, *(args or ())).produce()]
676676

677677
env = self.env_for_program()
678678

679679
if os.name == "nt":
680-
cmd = [str(q) for q in Shebang(*cmd).produce()]
681680
p = subprocess.run(cmd, env=env)
682681
sys.exit(p.returncode)
683682

0 commit comments

Comments
 (0)