Make WordPress Core

Opened 2 years ago

Closed 23 months ago

Last modified 23 months ago

#55702 closed defect (bug) (fixed)

Run the PHP container with PID > 1 so Ctrl+C works correctly

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile johnbillion
Milestone: 6.1 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:


The WP-CLI container in the local dev environment runs with a PID > 1 which allows ctrl+c to work as expected if you need to cancel the operation.

The same is not true for the PHP container, which means it's not possible to cancel a test run. Let's fix that.

Change History (3)

This ticket was mentioned in PR #2693 on WordPress/wordpress-develop by johnbillion.

2 years ago

  • Keywords has-patch added

#2 @johnbillion
23 months ago

  • Owner set to johnbillion
  • Resolution set to fixed
  • Status changed from new to closed

In 53628:

Build/Test Tools: Run the PHP container with PID > 1 so Ctrl+C works correctly.

This allows for cancellation of operations in the PHP container, such as a PHPUnit test suite run.

Fixes #55702

Note: See TracTickets for help on using tickets.