-
-
Notifications
You must be signed in to change notification settings - Fork 687
Ctrl+C and SIGTERM does nothing when --watch
flag is used
#132
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
Comments
Hi @rmmcnulty9, thanks for reporting this bug! I plan to take a look at it soon |
@rmmcnulty9 Can you tell me what operating system you're using? |
You need to range over signals in this function Line 140 in 687b4ec
I can send pull request later. |
There is also no call to |
@grzegorz-zur Done os called on the sh lib. See: https://github.com/mvdan/sh/blob/3a244a89e2e520d2777e94693d51bef800761879/interp/module.go#L81 Let me know if you need help |
Hello @andreynering , sorry for the slow reply. I am using Ubuntu 18.04 |
@andreynering It seems that in the file |
@rmmcnulty9 @grzegorz-zur Thanks, I was able to identify the problem: there was no I fixed it by having a different signal handling to explicitly close the watcher. |
Let me know if you still experience problems after this fix. |
v2.1.1 is released with this fix |
Thanks for the quick turn around. I am very anxious to drop |
Hello, I am trying to use the
--watch
for one of my tasks but I can not stoptask
when I am done. I have tokill -9
task
. Am I missing something?The text was updated successfully, but these errors were encountered: