Skip to content

Ctrl-C in pulp repl can cause exit #342

Open

Description

@hdgarrood

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).

Activity

  1. nwolverson commented on May 3, 2018

    @nwolverson
    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

  2. muratg commented on Jun 19, 2019

    @muratg

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions