Skip to content
This repository was archived by the owner on Jun 18, 2022. It is now read-only.

Commit 0e60324

Browse files
committed
Call mode with parameter CON to be more specific
1 parent e166719 commit 0e60324

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/cli/Shell.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static public function columns() {
3030
if ( null === $columns ) {
3131
if (self::is_windows() ) {
3232
$output = array();
33-
exec('mode', $output);
33+
exec('mode CON', $output);
3434
foreach ($output as $line) {
3535
if (preg_match('/Columns:( )*([0-9]+)/', $line, $matches)) {
3636
$columns = (int)$matches[2];

0 commit comments

Comments
 (0)