Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions launch/launch/actions/execute_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,12 +354,8 @@ def __on_signal_process_event(
return None
if platform.system() == 'Windows' and typed_event.signal_name == 'SIGINT':
# TODO(wjwwood): remove this when/if SIGINT is fixed on Windows
self.__logger.warning(
"'SIGINT' sent to process[{}] not supported on Windows, escalating to 'SIGTERM'"
.format(self.process_details['name']),
)
typed_event = SignalProcess(
signal_number=signal.SIGTERM,
signal_number=signal.CTRL_C_EVENT,
process_matcher=lambda process: True)
self.__logger.info("sending signal '{}' to process[{}]".format(
typed_event.signal_name, self.process_details['name']
Expand Down