Skip to content

Conversation

@adam12
Copy link

@adam12 adam12 commented Jan 24, 2026

$status after a pipeline reflects the last command (string collect),
not the ruby program. This caused cancellation messages to be eval'd
as commands:

fish: Unknown command: Cancelled.
in function 'try'

Using $pipestatus[1] checks the actual ruby process exit status.

$status after a pipeline reflects the last command (string collect),
not the ruby program. This caused cancellation messages to be eval'd
as commands:

  fish: Unknown command: Cancelled.
    in function 'try'

Using $pipestatus[1] checks the actual ruby process exit status.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant