You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't interrupt bytes at with an infinite stream #13530
A:signal-cancelProblems with how executions react to signals or attempts at cancellation (CTRL-C)category:bugSomething isn't workingstatus:needs-triageAn issue that hasn't had any proper look
Seems like it nearly works. What's not working is that open /dev/urandom | into binary | bytes at ..10 works the same as open /dev/urandom | into binary but I'm not using the f from that function so I'm sure I did something wrong.
A:signal-cancelProblems with how executions react to signals or attempts at cancellation (CTRL-C)category:bugSomething isn't workingstatus:needs-triageAn issue that hasn't had any proper look
Activity
kaathewisegit commentedon Aug 5, 2024
I've tried tracking down the issue, and here's what I have:
bytes atusesoperatefromnu-cmd-base.operateusesinput.map.input::map(&self)handles raw streams in the following way:Where
into_valuecollects all of the input. I presume that's the point at which Nu hangs up on infinite streams.cablehead commentedon Dec 6, 2024
@kaathewisegit that looks right:
what would it look like for https://github.com/nushell/nushell/blob/main/crates/nu-protocol/src/pipeline/pipeline_data.rs#L384-L386 not to collect?
fdncred commentedon Dec 6, 2024
Seems like it nearly works. What's not working is that

open /dev/urandom | into binary | bytes at ..10works the same asopen /dev/urandom | into binarybut I'm not using theffrom that function so I'm sure I did something wrong.Implementing ByteStream interuption on infinite stream (#13552)
WindSoilder commentedon Dec 30, 2025
I can't reproduce it on latest version, and I think it can be closed