Skip to content

Added terminate#12

Merged
esteve merged 1 commit intomasterfrom
terminate-process
Nov 13, 2015
Merged

Added terminate#12
esteve merged 1 commit intomasterfrom
terminate-process

Conversation

@esteve
Copy link
Copy Markdown
Member

@esteve esteve commented Nov 13, 2015

This adds a terminate method to terminate a process.

@esteve esteve added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Nov 13, 2015
@esteve esteve self-assigned this Nov 13, 2015
@gerkey
Copy link
Copy Markdown
Member

gerkey commented Nov 13, 2015

+1, good to get rid of the Windows-specific SIGINT vs SIGTERM logic in other places.

esteve added a commit that referenced this pull request Nov 13, 2015
@esteve esteve merged commit 7409aa1 into master Nov 13, 2015
@esteve esteve removed the in review Waiting for review (Kanban column) label Nov 13, 2015
@esteve esteve deleted the terminate-process branch November 13, 2015 23:27
@dirk-thomas
Copy link
Copy Markdown
Member

How is this being used? Eventually invoking close would be better since it also ensures that pipes etc. are closed.

@esteve
Copy link
Copy Markdown
Member Author

esteve commented Nov 13, 2015

This is being called in https://github.com/ros2/examples/blob/test_talker_listener_rebased/rclcpp_examples/test/test_executables_example.py.in#L56 but if it's better to just call close instead, I can change the code there.

wjwwood pushed a commit that referenced this pull request Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants