File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ $ pip install --user --upgrade --pre libtmux
1515
1616<!-- To maintainers and contributors: Please add notes for the forthcoming version above -->
1717
18+ ### Bug fix
19+
20+ - ` Server.new_session ` : Fix handling of environmental variables passed to new
21+ sessions. Thank you @ppentchev ! (#553 )
22+
1823## libtmux 0.40.0 (2024-12-20)
1924
2025_ Maintenance only, no bug fixes or new features_
Original file line number Diff line number Diff line change @@ -134,11 +134,13 @@ def test_new_session_shell(server: Server) -> None:
134134
135135
136136def test_new_session_shell_env (server : Server ) -> None :
137- """Verify ``Server.new_session`` creates valid session running w/ command."""
137+ """Verify ``Server.new_session`` creates valid session running w/ command (#553) ."""
138138 cmd = "sleep 1m"
139139 env = dict (os .environ )
140140 mysession = server .new_session (
141- "test_new_session_env" , window_command = cmd , environment = env
141+ "test_new_session_env" ,
142+ window_command = cmd ,
143+ environment = env ,
142144 )
143145 time .sleep (0.1 )
144146 window = mysession .windows [0 ]
You can’t perform that action at this time.
0 commit comments