diff options
| author | Shunsuke Mie <sux2mfgj@gmail.com> | 2022-11-16 00:22:38 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-15 15:22:38 +0000 |
| commit | 4aae81faf8c215351ec0f69714f67e36f8e154c7 (patch) | |
| tree | e889ab13c4729d3a20b58b6a98c21bce7923a08f /example | |
| parent | docs(changelog): plugin data flow (diff) | |
| download | sl0ppij-4aae81faf8c215351ec0f69714f67e36f8e154c7.tar.gz sl0ppij-4aae81faf8c215351ec0f69714f67e36f8e154c7.tar.xz sl0ppij-4aae81faf8c215351ec0f69714f67e36f8e154c7.zip | |
fix(pty): use /bin/sh when SHELL env variable is not found (#1769)
This commit fixes #1722.
In some environment, the SHELL environemnt variable is not exists. It
causes a panic that is reported as #1722. Use generic shell (/bin/sh) to
prevent the panic.
This is a same behavior as tmux.
https://github.com/tmux/tmux/blob/master/spawn.c#L329-L331
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions
