#3231: Permission denied error with runProcess/openFile
---------------------------------+------------------------------------------
Reporter: NeilMitchell | Owner: simonmar
Type: bug | Status: closed
Priority: normal | Milestone: 6.12.1
Component: Runtime System | Version: 6.10.4
Severity: normal | Resolution: invalid
Keywords: | Difficulty: Unknown
Testcase: | Os: Windows
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by NeilMitchell):
There are many solutions - a really simple one is to use
http://hackage.haskell.org/packages/archive/bytestring/0.9.1.4/doc/html
/Data-ByteString.html#v%3AreadFile
That will read the file strictly, so you won't have a problem.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3231#comment:29>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs