We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255fab4 commit 8b8f25eCopy full SHA for 8b8f25e
src/Context/Process.php
@@ -99,6 +99,10 @@ public function run() {
99
$stderr = file_get_contents( $stderr_file );
100
unlink( $stdout_file );
101
unlink( $stderr_file );
102
+
103
+ // Normalize line endings.
104
+ $stdout = str_replace( "\r\n", "\n", $stdout );
105
+ $stderr = str_replace( "\r\n", "\n", $stderr );
106
}
107
108
$run_time = microtime( true ) - $start_time;
0 commit comments