Skip to content

fix: Pause the crawl on Ctrl+C on Windows instead of crashing - #2277

Merged
vdusek merged 1 commit into
apify:masterfrom
Mantisus:windows-sigint
Oct 6, 2026
Merged

vdusek merged 1 commit into
apify:masterfrom
Mantisus:windows-sigint

Conversation

@Mantisus

@Mantisus Mantisus commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Description

  • On Windows, Ctrl+C during crawler.run() now pauses the crawl the same way as on Linux and macOS. The crawler logs the pause message, lets the requests in progress finish, starts no new ones, and logs how to resume the crawl.

Issues

@Mantisus
Mantisus requested a review from vdusek October 5, 2026 19:28
@Mantisus Mantisus self-assigned this Oct 5, 2026
@vdusek vdusek changed the title fix: Pause the crawl on Ctrl+C on Windows fix: Pause the crawl on Ctrl+C on Windows instead of crashing Oct 6, 2026
@vdusek
vdusek merged commit dbec1f5 into apify:master Oct 6, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve KeyboardInterrupt handling on Windows

3 participants