We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d9eb04 commit 8424dcaCopy full SHA for 8424dca
tmuxp/cli.py
@@ -232,7 +232,6 @@ def subcommand_convert(args):
232
print ('written new config to <%s>.' % (newfile))
233
234
235
-
236
def subcommand_attach_session(args):
237
commands = []
238
try:
@@ -264,11 +263,10 @@ def subcommand_kill_session(args):
264
263
sessions = [s for s in t.sessions if s.get('session_name') == ctext]
265
266
if (len(sessions) == 1):
267
- proc = sessions[0].kill_session()
268
- if proc.stderr:
269
- print(proc.stderr)
270
271
- print(proc.stdout)
+ try:
+ sessions[0].kill_session()
+ except Exception as e:
+ logger.error(e)
272
273
274
def cli_parser():
0 commit comments