This project is mirrored from https://github.com/haskell/process. Pull mirroring updated .
  1. 19 Feb, 2013 1 commit
  2. 16 Feb, 2013 3 commits
  3. 15 Feb, 2013 2 commits
  4. 11 Feb, 2013 1 commit
  5. 03 Feb, 2013 1 commit
  6. 25 Jan, 2013 1 commit
  7. 30 Nov, 2012 3 commits
  8. 25 Sep, 2012 1 commit
  9. 24 Sep, 2012 4 commits
  10. 09 Sep, 2012 1 commit
  11. 28 Jul, 2012 1 commit
  12. 10 Jul, 2012 2 commits
  13. 04 Jun, 2012 1 commit
  14. 10 May, 2012 1 commit
  15. 01 May, 2012 1 commit
  16. 08 Feb, 2012 1 commit
    • basvandijk's avatar
      Fixed asynchronous exception bugs in readProcess and readProcessWithExitCode... · b5ee9088
      basvandijk authored and Simon Marlow's avatar Simon Marlow committed
      Fixed asynchronous exception bugs in readProcess and readProcessWithExitCode This patch fixes the following two bugs:
      
      1) If an asynchronous exception was thrown to the thread executing
         readProcess somewhere after createProcess was executed, the standard handles
         would not be closed anymore resulting in a "handle leak" so to speak.
      
         This is fixed by catching exceptions in the IO processing code and
         closing the standard handles when an exception occurs.
         Additionally, I also terminate the process and wait for its termination.
      
      2) If an asynchronous exception was thrown to the
         stdout/stderr-read-thread it did not execute the putMVar anymore
         resulting in a dead-lock when takeMVar was executed.
      
         This is fixed by properly catching exception in the read-thread
         and propagating them to the parent thread which will then handle
         them as described above.
      b5ee9088
  17. 16 Jan, 2012 1 commit
  18. 19 Nov, 2011 1 commit
  19. 18 Nov, 2011 3 commits
  20. 16 Nov, 2011 1 commit
  21. 14 Nov, 2011 1 commit
  22. 23 Oct, 2011 1 commit
  23. 20 Oct, 2011 1 commit
  24. 25 Sep, 2011 1 commit
  25. 11 Sep, 2011 1 commit
  26. 06 Sep, 2011 1 commit
  27. 25 Aug, 2011 1 commit
  28. 10 Aug, 2011 1 commit
  29. 09 Aug, 2011 1 commit