It's ok when I compiled below code with nim c -d:mingw -d:release test.nim

but Access is denied happens when running this code compiled it with nim cpp 
-d:mingw -d:release src/test.nim.
    
    
    import
      os,
      memfiles
    
    stdout.write "input: "
    let text = readLine stdin
    for line in lines(memfiles.open(text)):
      echo line
    
    
    Run

Anyone can help me?

Reply via email to