Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drush / drush / src / Runtime / RedispatchHook.php
index 84d7890bd2bf664fdba306650a4a6fd03ad668cb..bcdec2056ea65fd845f837bc11128cd1b00ae118 100644 (file)
@@ -94,8 +94,8 @@ class RedispatchHook implements InitializeHookInterface, ConfigAwareInterface
             'additional-global-options' => [],
             'interactive' => true,
         ];
+        $backend_options['#tty'] = $this->getConfig()->get('ssh.tty', $input->isInteractive());
         if ($input->isInteractive()) {
-            $backend_options['#tty'] = true;
             $backend_options['interactive'] = true;
         }