mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-10 01:51:09 +00:00
Search PATH when executing login shell
This commit is contained in:
parent
ff01df3b16
commit
8fe87a0df5
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ using_python() {
|
|||
|
||||
execute_with_python() {
|
||||
if detect_python; then
|
||||
exec $python -c "import os; os.execl('$login_shell', '-' '$shell_name')"
|
||||
exec $python -c "import os; os.execlp('$login_shell', '-' '$shell_name')"
|
||||
fi
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue