simonmar    2004/09/28 08:26:08 PDT

  Modified files:
    libraries            Makefile 
  Added files:
    libraries/process    Makefile package.conf.in prologue.txt 
    libraries/process/System Process.hsc 
    libraries/process/System/Process Internals.hs 
    libraries/process/cbits anonPipe.c 
    libraries/process/include HsProcess.h 
  Log:
  Add the new System.Process library.
  
  The API has changed slightly from the one I submitted for review on
  [EMAIL PROTECTED] recently:
  
    - runProcess and runInteractiveProcess now take an optional
      current directory in which to start the new process.
  
    - new function: getProcessExitCode, a non-blocking version of
      waitForProcess.
  
    - new function: terminateProcess.  Probably not terribly useful.
  
  What's more, I added some of the signal processing that system() does,
  namely resetting SIGINT and SIGQUIT in the child (as requested by Glyn
  Clemments - see comments in the source).
  
  ToDo: System.Cmd should really be implemented on top of this, and we
  could delete some code.  However I've chickened out for the time being
  because that would cause haskell98 to depend on process, and hence
  also unix/win32.  Using stuff from System.Posix/System.Win32 in here
  is the Right Thing - at some point we're going to have to bite this
  bullet.
  
  Revision  Changes    Path
  1.39      +6 -0      fptools/libraries/Makefile
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to