Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Dec 3, 2023
1 parent 77551cd commit a20c9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitty/tabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,9 @@ def launch_child(
cmd = resolved_shell(get_options())
check_for_suitability = False
if check_for_suitability:
from .utils import which
old_exe = cmd[0]
if not os.path.isabs(old_exe):
from .utils import which
actual_exe = which(old_exe)
old_exe = actual_exe if actual_exe else os.path.abspath(old_exe)
try:
Expand Down

0 comments on commit a20c9a7

Please sign in to comment.