Page MenuHomePhabricator

Cannot abort prompts for cloning by pressing ^C
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Remove .env file by executing rm $(mw docker where)/.env if exists.
  • Execute 'mw dev mediawiki <ANY_COMMAND>', for example mw dev mediawiki suspend.
  • Skip questions until "MediaWiki code not detected in <PATH>. Do you want to clone it now??" is shown.
  • Press ^C (Ctrl + C)

What happens?:

The command you executed runs. Maybe the answers are treated as "n".

What should have happened instead?:

Aborting like when pressing ^Z.

Software version:

$ mw version
GitCommit: 1f910e3
GitBranch: master
GitState: dirty
GitSummary: 1f910e3
BuildDate: 2021-07-14T23:35:23Z
Version: v0.1.0
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	21.04
Codename:	hirsute