-
-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
interrupting a process spawned by nushell
closes the pane
#615
Labels
Comments
Hello @midnightexigent thank you for taking the time I can reproduce the problem. |
Hello, thanks for looking into this ! So this is an actual bug, right ? |
Yes, this is definitely an actual bug. |
tw4452852
added a commit
to tw4452852/zellij
that referenced
this issue
Aug 15, 2021
nushell doesn't create a new process group when spawnning a process, so all processes including the ones spwanned by us are in the same foreground group. So if kernel will send signal to every member of this group. This patch fixes this issue by creating a new foreground process group when spawnning a new terminal pane. Fix zellij-org#615 Signed-off-by: Tw <tw19881113@gmail.com>
imsnif
added a commit
that referenced
this issue
Aug 16, 2021
* fix unexpected pane closing issue with nushell nushell doesn't create a new process group when spawnning a process, so all processes including the ones spwanned by us are in the same foreground group. So if kernel will send signal to every member of this group. This patch fixes this issue by creating a new foreground process group when spawnning a new terminal pane. Fix #615 Signed-off-by: Tw <tw19881113@gmail.com> * add comment about unsafe Co-authored-by: Aram Drevekenin <aram@poor.dev>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Basic information
zellij --version
: zellij 0.14.0tput lines
: 47tput cols
: 170uname -av
: Linux desktop-776A 5.12.14-artix1-1 SMP PREEMPT Thu, 01 Jul 2021 20:51:04 +0000 x86_64 GNU/LinuxPrograms to interact with
nu --version
: 0.34.0 (with default features)Steps to reproduce
tty
run,env SHELL=nu zellij setup --clean
sleep 10sec
)ctrl-c
to interrupt the processThe text was updated successfully, but these errors were encountered: