test_rosbag2_record_end_to_end defines a workaround for Windows in multiple places due to Windows not supporting a mechanism to programmatically send a SIGINT.
These tests should either be rewritten to not require the workaround or a helper function should be written so less platform-specific code is required.