denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
97.96k stars 5.39k forks source link

`Deno panic when use pipe command` #20377

Open afifurrohman-id opened 1 year ago

afifurrohman-id commented 1 year ago
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: windows x86_64
Version: 1.36.4
Args: ["C:\\Users\\afif\\.deno\\bin\\deno.exe", "test", "-A", "--unstable", "--parallel"]

thread 'main' panicked at 'failed printing to stdout: The pipe is being closed. (os error 232)', library\std\src\io\stdio.rs:1019:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Issue

lucacasonato commented 1 year ago

You should use deno task test > SOMETHING.EXT. cat is for reading files, not writing. This is however still a bug.