[wp-trac] [WordPress Trac] #55702: Run the PHP container with PID > 1 so Ctrl+C works correctly

WordPress Trac noreply at wordpress.org
Mon May 9 07:46:30 UTC 2022


#55702: Run the PHP container with PID > 1 so Ctrl+C works correctly
------------------------------+--------------------
 Reporter:  johnbillion       |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  6.1
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+--------------------
 The WP-CLI container in the local dev environment
 [https://github.com/WordPress/wordpress-
 develop/blob/91fe405d61b40b044763fa326e5d3b6ce4c17740/docker-
 compose.yml#L94-L95 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55702>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list