#3231: Permission denied error with runProcess/openFile
---------------------------------+------------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10.4
Component: Runtime System | Version: 6.10.2
Severity: major | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Windows
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by duncan):
Replying to [comment:17 simonmar]:
> It's pretty clear we need to get this resolved. Here's my proposed
plan, please tell me if any of this will have untoward consequences:
All looks fine to me.
> * when `close_fds` is `True`, and we are not redirecting any standard
`HANDLE`s, we set `bInheritHandles` to `FALSE` when calling
`CreateProcess`
We should also keep a ticket open on this one to fix it fully in Vista
using new APIs. In Vista we can pass `CreateProcess` a list of handles
that will be inherited, ie the stdin/out pipe handles.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3231#comment:19>
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