Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl-C in pulp repl can cause exit #342

Open
hdgarrood opened this issue May 3, 2018 · 2 comments
Open

Ctrl-C in pulp repl can cause exit #342

hdgarrood opened this issue May 3, 2018 · 2 comments

Comments

@hdgarrood
Copy link
Collaborator

To reproduce, type pulp repl and then hit Ctrl-C a few times, or hold it down if that doesn't work.

Result:

$ pulp repl
PSCi, version 0.11.7
Type :? for help

import Prelude
> 
> 
purs: Interrupt

Migrated from purescript/purescript#3269

I am pretty sure this is to do with how node handles subprocesses. I think it might be worth investigating how we might be able to get pulp repl to work without having it run as a subprocess of a Node process (ideally in a way which works on Windows too).

@nwolverson
Copy link
Collaborator

From looking at subprocesses and signalling before, it's worth bearing in mind (testing with) both the node-wrapped purs bin and the unwrapped one, as that's another layer

@muratg
Copy link

muratg commented Jun 19, 2019

FYI: spago repl has the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants