By using AWS re:Post, you agree to the Terms of Use

CLI "s3 sync" fails to handle CTRL+C on Windows


The AWS Command Line Interface (CLI) on Windows 11 fails to respond to CTRL+C. It does reliably respond to CTRL+C and cancels operations as expected on Linux. Is the failure of AWS CLI to handle CTRL+C on Windows 11 a known defect? Is there a workaround?

The failure was observed when running a long aws s3 sync command.

aws-cli/2.7.13 Python/3.9.11 Windows/10 exe/AMD64 prompt/off
Windows Terminal, Version: 1.13.11432.0
Microsoft Windows 11 Enterprise, 10.0.22000 N/A Build 22000
1 Answers
Accepted Answer

Hi , you can try Ctrl + Break , if Break is not available in keyboard then you can try Ctrl + FN + B or Ctrl + FN + S

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions