pantheon-systems / terminus

The Pantheon CLI — a standalone utility for performing operations on the Pantheon Platform
https://pantheon.io
Other
318 stars 195 forks source link

Commands tergeting remote servers never execute in WSL #1897

Open jlandrum opened 6 years ago

jlandrum commented 6 years ago

Expected behavior

Terminus remote commands should run when invoked in Ubuntu on Windows

Actual behavior

Nothing happens - no network traffic or processor usage reported for the Terminus process and the process does not exit

Steps to reproduce the behavior

  1. Install Ubuntu on Windows
  2. Follow installation steps for Terminus
  3. Run any command that involves communicating with a Pantheon site, such as drush or wp
    ------------------------- ----------------------------------------------
    PHP binary                /usr/bin/php7.2
    PHP version               7.2.10-0ubuntu0.18.04.1
    php.ini used              /etc/php/7.2/cli/php.ini
    Terminus project config
    Terminus root dir         /home/thyme/vendor/pantheon-systems/terminus
    Terminus version          1.9.0
    Operating system          #345-Microsoft Wed Sep 19 17:47:00 PST 2018
    ------------------------- ----------------------------------------------
NickDickinsonWilde commented 5 years ago

I can confirm that terminus drush SITE-NAME.ENV -- CMD commands can work on WSL/Ubuntu. At least they've been working for me on WSL for a year and half both Terminus 1.x and 2.x running from PHP 7.0-7.3. Maybe try the default install method (that location doesn't look quite normal)?