#3231: Permission denied error with runProcess/openFile
--------------------------+-------------------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.2
Severity: normal | Resolution:
Keywords: | Testcase:
Os: Windows | Architecture: Unknown/Multiple
--------------------------+-------------------------------------------------
Comment (by NeilMitchell):
Yes, the system call is crucial - a similar threadDelay has no problems. I
only used sleep because it's a simple process that was available, I have
no reason to think it's the delay causing a problem.
In the sleep example, the child process isn't actually using the open file
handle - it was in the original example but that turned out to be
irrelevant.
BTW, this error is pretty severe for certain users -
threads+windows+files+system is a combination that crops up everywhere
when using Haskell as a powerful scripting language.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3231#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs