You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a QuickJS wrapper which relied on a spinner being displayed while a JS promise was executed. Since hitting ctrl-d does not stop the child program (which is tail -f in our case) anymore, when redirected, the cancellation is not detected when using gum >= 0.14 (except for 0.14.2)
The first gum example ported to QuickJS used to work fine and is now stuck once the spinner has disappeared, because the child process is still running
with gum 0.12
with gum 0.14.5
Desktop
OS: Ubuntu
Terminal: Konsole
Version: gum version 0.14.3,0.14.4,0.14.5 (0.14.2 and < 0.14 are ok)
The text was updated successfully, but these errors were encountered:
All good on my side. I noticed that when the output is redirected, content is buffered until the command is finished, even when --show-output is used. It's perfectly fine to me but it may be a problem for other users, since in 0.14.5, content was streamed even when redirecting output
Describe the bug
When killing
gum spin -- xxx
withctrl-c
, child process keeps running if stdout is redirectedTo Reproduce
ping
process will be killed when doingctrl-c
ping
process will keep running when doingctrl-c
Expected behavior
Child process should be killed when doing
ctrl-c
Context
We have a QuickJS wrapper which relied on a spinner being displayed while a JS promise was executed. Since hitting
ctrl-d
does not stop the child program (which istail -f
in our case) anymore, when redirected, the cancellation is not detected when using gum >= 0.14 (except for 0.14.2)The first gum example ported to QuickJS used to work fine and is now stuck once the spinner has disappeared, because the child process is still running
0.12
0.14.5
Desktop
The text was updated successfully, but these errors were encountered: