mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
Failure to change to cwd should not be fatal in bootstrap.py to match bootstrap.sh
This commit is contained in:
parent
6d49686aee
commit
ef9dada80d
@ -295,7 +295,10 @@ def main():
|
||||
cwd = os.environ.pop('KITTY_LOGIN_CWD', '')
|
||||
install_kitty_bootstrap()
|
||||
if cwd:
|
||||
os.chdir(cwd)
|
||||
try:
|
||||
os.chdir(cwd)
|
||||
except Exception as err:
|
||||
print(f'Failed to change working directory to: {cwd} with error: {err}', file=sys.stderr)
|
||||
ksi = frozenset(filter(None, os.environ.get('KITTY_SHELL_INTEGRATION', '').split()))
|
||||
exec_cmd = b'EXEC_CMD'
|
||||
if exec_cmd:
|
||||
|
Loading…
Reference in New Issue
Block a user