ruby / rake

A make-like build utility for Ruby.

Home Page:https://ruby.github.io/rake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ctrl+C does not stop shell command

leonid-shevtsov opened this issue · comments

If you start a long-running shell command with sh, then stop Rake with Ctrl+C, the command itself is not interrupted.

In my case, the command is docker compose that logs to STDOUT, so it is very obvious that the command proceeds until killed manually by PID.

I think the way it should behave is the signal should be transferred to the shell command.

Rake version 13.0.6

No, apparently this is some docker-compose issue, as it reproduces even with a plain docker compose command. Closing.