[Bug] Bash command execution creates NUL file on Windows filesystem

Resolved 💬 3 comments Opened Oct 31, 2025 by yanislavgalyov Closed Nov 4, 2025

Bug Description
from claude code log:

@backend\ is an express app and i would like to use some standard folder structure.

⎿  Listed directory backend\

● Let me explore your current backend structure to understand what you have and suggest a standard
folder organization.

● Bash(find "D:\YanStack\my-trello\backend\src" -type f 2>nul)
⎿  D:\YanStack\my-trello\backend\src/styles.css

this created a file named "nul" in windows file system. this should not happen!
Windows 11 Pro
in terminal:

$PSVersionTable
Name Value
---- -----
PSVersion 7.5.4
PSEdition Core
GitCommitId 7.5.4
OS Microsoft Windows 10.0.26220
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.30
  • Feedback ID: 8c0c1868-5e2a-4d1c-b4a9-7e17a9d1ccd0

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗