Commit 0649640
committed
libtmux(fix[logging]): add Server.kill() log and new_session stderr check
why: Server.kill() was a silent fire-and-forget; new_session's
kill-session path discarded stderr on failure.
what:
- Server.kill(): capture proc, log INFO "server killed", handle
"no server running" gracefully
- Server.new_session(): check kill-session stderr and raise on failure1 parent a3244e3 commit 0649640
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
376 | 385 | | |
377 | 386 | | |
378 | 387 | | |
| |||
524 | 533 | | |
525 | 534 | | |
526 | 535 | | |
527 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
528 | 539 | | |
529 | 540 | | |
530 | 541 | | |
| |||
0 commit comments