[GHC] #3231: Permission denied error with runProcess/openFile

GHC cvs-ghc at haskell.org
Sun Apr 1 12:44:37 CEST 2012


#3231: Permission denied error with runProcess/openFile
-----------------------------+----------------------------------------------
  Reporter:  NeilMitchell    |          Owner:  simonmar        
      Type:  bug             |         Status:  new             
  Priority:  normal          |      Milestone:  7.6.1           
 Component:  libraries/base  |        Version:  6.10.4          
Resolution:                  |       Keywords:                  
        Os:  Windows         |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown    |     Difficulty:  Unknown         
  Testcase:                  |      Blockedby:                  
  Blocking:                  |        Related:                  
-----------------------------+----------------------------------------------

Comment(by duncan):

 Possibly related here is:
 http://blogs.msdn.com/b/oldnewthing/archive/2012/03/29/10288686.aspx

 It says that `TerminateProcess` is async and you have to wait for the
 process to really terminate before file locks are released. Of course here
 we think we are waiting for processes to terminate but perhaps we should
 double check how we're doing that.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3231#comment:45>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list