Changeset 14414 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/tools/class-svn.php
- Timestamp:
- 04/08/2025 02:18:41 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/tools/class-svn.php
r14314 r14414 593 593 * 594 594 * @param string $command The command to be executed. 595 * @return mixed The output from the executed command or NULL if an error occurred or the command produces no596 * output.595 * @return mixed The output from the executed command, empty string if an error occurred or the command 596 * produces no output. 597 597 */ 598 598 protected static function shell_exec( $command ) { 599 return shell_exec( 'export LC_CTYPE="en_US.UTF-8" LANG="en_US.UTF-8"; ' . $command ) ;599 return shell_exec( 'export LC_CTYPE="en_US.UTF-8" LANG="en_US.UTF-8"; ' . $command ) ?? ''; 600 600 } 601 601 }
Note:
See TracChangeset
for help on using the changeset viewer.