File tree 2 files changed +9
-2
lines changed
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
15
15
16
16
<!-- To maintainers and contributors: Please add notes for the forthcoming version above -->
17
17
18
+ ### Bug fix
19
+
20
+ - ` Server.new_session ` : Fix handling of environmental variables passed to new
21
+ sessions. Thank you @ppentchev ! (#553 )
22
+
18
23
## libtmux 0.40.0 (2024-12-20)
19
24
20
25
_ 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:
134
134
135
135
136
136
def 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) ."""
138
138
cmd = "sleep 1m"
139
139
env = dict (os .environ )
140
140
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 ,
142
144
)
143
145
time .sleep (0.1 )
144
146
window = mysession .windows [0 ]
You can’t perform that action at this time.
0 commit comments