Skip to content

SIGINT swallowed when running non-interactively #5253

@mqudsi

Description

@mqudsi

Typing the following in at an interactive prompt, hitting enter, then ^C works (i.e. it stops);

while true
    echo hi
end

but execute the following script and try to stop it with ctrl+c and it never stops:

#!build/fish
while true
    echo hi
end

But it can be backgrounded via ctrl+z, so it's not that signals are blocked, the issue appears to be specific to ctrl+c.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions