cli: [Bug]: Windows "Terminate batch job (Y/N)?"

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Theme

Expected behavior

Terminal cancels task in one go

Actual behavior

Terminal comes up with “Terminate batch job (Y/N)?”, requiring an extra step to cancel the process. This doesn’t always work either, it sometimes locks up.

Additionally, if your login session expires and it comes up with “Run shopify login to sign back in” and you cancel the batch process it locks up due to the Terminate Batch Job issue.

Stack trace

No response

Reproduction steps

  1. Run shopify theme dev and wait for it to complete
  2. Cancel the job via Ctrl+C
  3. See Terminal for message

Operating System

Windows 11

Shopify CLI version (check your project’s package.json if you’re not sure)

3.33

Shell

Git Bash, Windows Powershell

Node version (run node -v if you’re not sure)

18.12.1

What language and version are you using in your application?

N/A Shopify Theme

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 19 (7 by maintainers)

Most upvoted comments

@matteodepalo sure thing, I’ll open a separate issue for theme development, I realize this issue is only for apps.

We’re adding functionality to dev that will all you to quit by pressing q which should alleviate this problem.