diff --git a/shell-integration/ssh/bootstrap.sh b/shell-integration/ssh/bootstrap.sh index 0da89a239..b00ce9652 100644 --- a/shell-integration/ssh/bootstrap.sh +++ b/shell-integration/ssh/bootstrap.sh @@ -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; }