r/nim•
Savings_Garlic5498

Reading a file in nim

I'm trying to run this nim code on windows

let s = readFile("file.txt")
echo s

This code compiles but when i try to run it i get:

Error: unhandled exception: An Application Control policy has blocked this file. Malicious binary reputation.

How do i fix this? Thanks!

Posted Feb 21, 2026, 5:31 PM UTC

98
Loading comments…