This commit is contained in:
Kovid Goyal 2023-03-05 08:41:04 +05:30
commit 0e4b374b7b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -434,6 +434,8 @@ class Tab: # {{{
cmd = resolved_shell(get_options())
elif not is_executable:
import shlex
from .utils import which
with suppress(OSError):
with open(old_exe) as f:
if f.read(2) == '#!':