-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Infinite sequences cant be terminated when piped to to ... command. #14862
Copy link
Copy link
Closed
Labels
A:signal-cancelProblems with how executions react to signals or attempts at cancellation (CTRL-C)Problems with how executions react to signals or attempts at cancellation (CTRL-C)category:bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
When passing an infinite sequence from 1..inf to to format where format accepts a sequence results in the command being stuck, and not being terminatable with .
How to reproduce
- Run
1..inf | to mdin a shell - Try to terminate the command
Expected behavior
should cause the command to stop rather than continuing until the oom killer terminates it.
Configuration
| key | value |
|---|---|
| version | 0.101.0 |
| major | 0 |
| minor | 101 |
| patch | 0 |
| branch | |
| commit_hash | |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.84.0 (9fc6b4312 2025-01-07) |
| rust_channel | stable-x86_64-unknown-linux-gnu |
| cargo_version | cargo 1.84.0 (66221abde 2024-11-19) |
| build_time | 2025-01-19 18:47:49 +13:00 |
| build_rust_channel | release |
| allocator | mimalloc |
| features | default, sqlite, trash |
| installed_plugins |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:signal-cancelProblems with how executions react to signals or attempts at cancellation (CTRL-C)Problems with how executions react to signals or attempts at cancellation (CTRL-C)category:bugSomething isn't workingSomething isn't working