-
Notifications
You must be signed in to change notification settings - Fork 139
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
ShutdownProcess event does not work from TimerAction #484
Comments
If I increase the delays in
|
@hidmic I know you where dealing with signal handlers and launch recently, any ideas? Note, this doesn't look like a regression, just something that never worked. |
I may be wrong, but this doesn't seem like a problem in |
You're right, launch is working as expected. I was not understanding how the terminal was interacting differently than sending a SIGINT. TIL. Thanks! Handling the interrupt with |
Bug report
Required Info:
Steps to reproduce issue
launch file (
repro.launch.py
):test process
test.sh
:launch command:
Expected behavior
After the timer expires, the ExecuteProcess action is shutdown.
Actual behavior
We see a SIGINT being sent to the process, but it is not shutdown.
Additional information
If we remove
TimerAction
, and emit the shutdown signal directly (see commented line in example), then the launch script behaves as expected: the test process is immediately shutdown.The text was updated successfully, but these errors were encountered: