Skip to content

Commit ae32904

Browse files
authored
Merge pull request #3885 from wp-cli/clarify-runcommand-launch
Clarify that `WP_CLI::runcommand()` launches a new process by default
2 parents 6e961c4 + 8a55432 commit ae32904

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

php/class-wp-cli.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,9 +950,10 @@ public static function get_config( $key = null ) {
950950
/**
951951
* Run a WP-CLI command.
952952
*
953-
* Launch a new child process, or run the command in the current process.
953+
* Launches a new child process to run a specified WP-CLI command.
954954
* Optionally:
955955
*
956+
* * Run the command in an existing process.
956957
* * Prevent halting script execution on error.
957958
* * Capture and return STDOUT, or full details about command execution.
958959
* * Parse JSON output if the command rendered it.

0 commit comments

Comments
 (0)