Search PATH when executing login shell
This commit is contained in:
parent
ff01df3b16
commit
8fe87a0df5
@ -245,7 +245,7 @@ using_python() {
|
|||||||
|
|
||||||
execute_with_python() {
|
execute_with_python() {
|
||||||
if detect_python; then
|
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
|
fi
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user