Visitar URL original
SIGINT is not correctly handled in Windows · Issue #407 · python/asyncio · GitHub
Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

SIGINT is not correctly handled in Windows #407

Description

@stefanotorresi

in Windows, CTRL+C doesn't terminate this script:

#!/usr/bin/env python

import asyncio

try:
    asyncio.get_event_loop().run_forever()
except KeyboardInterrupt:
    asyncio.get_event_loop().stop()

also see #191

Activity

  1. lukkm commented on Apr 18, 2017

    @lukkm

    Are there any news or known workarounds for this? I'm having the same problem

  2. gera2ld commented on Apr 29, 2017

    @gera2ld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions