mirror of
https://github.com/flarum/core.git
synced 2025-07-26 03:01:22 +02:00
flarum info: Try to fix STDERR redirection for Windows
See the following articles for more information: - https://www.24k.com.sg/blog-27.html - https://support.microsoft.com/en-us/help/110930/redirecting-error-messages-from-command-prompt-stderr-stdout Refs #1562.
This commit is contained in:
@@ -116,7 +116,7 @@ class InfoCommand extends AbstractCommand
|
|||||||
|
|
||||||
$output = [];
|
$output = [];
|
||||||
$status = null;
|
$status = null;
|
||||||
exec('git rev-parse HEAD 2> /dev/null', $output, $status);
|
exec('git rev-parse HEAD 2>&1', $output, $status);
|
||||||
|
|
||||||
chdir($cwd);
|
chdir($cwd);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user