Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#55702 closed defect (bug) (fixed)

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

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

Description

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.


5 years ago
#1

  • Keywords has-patch added

#2 @johnbillion
4 years ago

  • Owner set to johnbillion
  • Resolution → fixed
  • Status new → 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.