Fri May 23 03:07:40 PDT 2008  Simon Marlow <[EMAIL PROTECTED]>
  * Overhall System.Process
         
   - fix #1780: pipes created by runInteractiveProcess are set
     close-on-exec by default
   
   - add a new, more general, form of process creation: createProcess
     Each of stdin, stdout and stderr may individually be taken
     from existing Handles or attached to new pipes.  Also it
     has a nicer API (as discussed on [EMAIL PROTECTED]).
   
   - add readProcess / readProcessWithExitCode, originally from Don
     Stewart's newpopen package.  These functions behave like C's
     popen().
  
   - Move System.Cmd.{system,rawSystem} into System.Process.  Later
     we can depecate System.Cmd.
   
   - Don't use O_NONBLOCK for pipes, as it can confuse the process
     attached to the pipe (requires a fix to GHC.Handle in the base
     package).
  
   - Provide a way to close all the file descriptors in the new
     process (see #1415)
  
   - add a couple more tests for the new features
  
   - bump the version to 2.0

    M ./System/Cmd.hs -120 +1
    M ./System/Process.hs -114 +340
    M ./System/Process/Internals.hs -87 +172
    M ./cbits/runProcess.c -161 +178
    M ./configure.ac -2 +2
    M ./include/runProcess.h -11 +10
    M ./process.cabal -1 +1
    M ./tests/all.T +5
    A ./tests/process005.hs
    A ./tests/process005.stdin
    A ./tests/process005.stdout
    A ./tests/process006.hs
    A ./tests/process006.stderr
    A ./tests/process006.stderr-i386-unknown-mingw32
    A ./tests/process006.stdout
    A ./tests/process006.stdout-i386-unknown-mingw32
    A ./tests/process007.hs
    A ./tests/process007.stdout
    A ./tests/process008.hs
    A ./tests/process008.stdout

View patch online:
http://darcs.haskell.org/packages/process/_darcs/patches/20080523100740-760e2-16db89b01118589ae40e628fee7708cef33991da.gz
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to