@@ -1305,9 +1305,6 @@ private static function run_sql( $sql_cmd, $assoc_args = [], $add_database = fal
13051305 }
13061306
13071307 $ start_time = microtime ( true );
1308- if ( Utils \is_windows () ) {
1309- fwrite ( STDERR , "DEBUG WINDOWS SQL: sql_cmd= {$ sql_cmd } assoc_args= " . json_encode ($ assoc_args ) . "\n" );
1310- }
13111308 $ result = Utils \run_mysql_command ( $ sql_cmd , array_merge ( $ assoc_args , $ default_assoc_args ), null , $ send_to_shell );
13121309 if ( self ::$ log_run_times ) {
13131310 self ::log_proc_method_run_time ( 'run_sql ' . $ sql_cmd , $ start_time );
@@ -1384,10 +1381,6 @@ public function proc( $command, $assoc_args = [], $path = '' ): Process {
13841381
13851382 $ env = self ::get_process_env_variables ();
13861383
1387- if ( Utils \is_windows () ) {
1388- fwrite ( STDERR , "DEBUG WINDOWS PROC: command= {$ command } path= " . ( $ path ?: 'null ' ) . "\n" );
1389- }
1390-
13911384 if ( isset ( $ this ->variables ['SUITE_CACHE_DIR ' ] ) ) {
13921385 $ env ['WP_CLI_CACHE_DIR ' ] = $ this ->variables ['SUITE_CACHE_DIR ' ];
13931386 }
@@ -1425,7 +1418,6 @@ public function proc( $command, $assoc_args = [], $path = '' ): Process {
14251418 public function background_proc ( $ cmd ): void {
14261419 if ( Utils \is_windows () ) {
14271420 $ cmd = str_replace ( '% ' , '%% ' , $ cmd );
1428- fwrite ( STDERR , "DEBUG WINDOWS BG_PROC: cmd= {$ cmd }\n" );
14291421 // On Windows, leaving pipes open can cause hangs.
14301422 // Redirect output to files and close stdin.
14311423 $ stdout_file = tempnam ( sys_get_temp_dir (), 'behat-stdout- ' );
0 commit comments