metacall / core

MetaCall: The ultimate polyglot programming experience.
https://metacall.io
Apache License 2.0
1.57k stars 160 forks source link

Handling kill signals while running python with metacall #342

Open roysti10 opened 2 years ago

roysti10 commented 2 years ago

🐛 Bug Report

On pressing Ctrl-C the kill signal doesnt behave the way it should when previously a python program is loaded

image

Expected Behavior

Should exit on pressing Ctrl-C

Current Behavior

A Python keyboard interrupt is thrown instead

Steps to Reproduce

  1. Open the metacall Cli by typing metacall on your terminal
  2. Type load py test.py (It doesnt matter if it passes or fails)
  3. Press Ctrl-C The error is shown
viferga commented 2 years ago

Duplicated here: https://github.com/metacall/core/issues/121

viferga commented 9 months ago

This may be solved? https://github.com/metacall/core/pull/482