changelog.md 2.61 KB
Newer Older
1 2
# Changelog for [`process` package](http://hackage.haskell.org/package/process)

Michael Snoyman's avatar
Michael Snoyman committed
3 4 5 6 7 8
## 1.4.1.0 *November 2015*

* Use less CPP [#47](https://github.com/haskell/process/pull/47)
    * Refactor to have separate Windows and POSIX modules internally
    * Remove the broken non-GHC code paths

Michael Snoyman's avatar
Michael Snoyman committed
9
## 1.4.0.0 *November 2015*
Michael Snoyman's avatar
Michael Snoyman committed
10 11 12

* Added `child_user` and `child_group` to `CreateProcess` for unix. [#45](https://github.com/haskell/process/pull/45)

13
## 1.3.0.0 *August 2015*
Michael Snoyman's avatar
Michael Snoyman committed
14

15
* Add `StdStream(NoStream)` to have standard handles closed. [#13](https://github.com/haskell/process/pull/13)
Michael Snoyman's avatar
Michael Snoyman committed
16
* Support for Windows `DETACHED_PROCESS` and `setsid` [#32](https://github.com/haskell/process/issues/32)
17
* Support for Windows `CREATE_NEW_CONSOLE` [#38](https://github.com/haskell/process/issues/38)
Michael Snoyman's avatar
Michael Snoyman committed
18

19
## 1.2.3.0 *March 2015*
20 21 22 23

  * [Meaningful error message when exe not found on close\_fds is
  True](https://ghc.haskell.org/trac/ghc/ticket/3649#comment:10)

24
  * New functions `readCreateProcess` and `readCreateProcessWithExitCode`
25

26 27 28 29 30 31 32 33 34
## 1.2.2.0  *Jan 2015*

  * Fix delegated CTRL-C handling in `createProcess` in case of failed
    process creation. See [issue #15](https://github.com/haskell/process/issues/15)
    for more details.

  * `waitpid` on child PID after pre-exec failure in child to prevent zombies.
    See also [issue #14](https://github.com/haskell/process/issues/14).

35
## 1.2.1.0  *Dec 2014*
36 37 38

  * Add support for `base-4.8.0.0`

39 40
  * Remove Hugs98 specific code

41 42
  * New `IsString CmdSpec` instance

43 44
  * Expose documentation for `System.Process.Internals`

45 46 47
  * With GHC 7.10, `System.Cmd` and `System.Process` are now `Safe`
    (when compiled with older GHC versions they are just `Trustworthy`)

48 49 50
  * Expose `createProcess_` function, and document behavior of `UseHandle` for
    `createProcess`. See [issue #2](https://github.com/haskell/process/issues/2).

51 52
  * New `System.Process.createPipe` operation.
    See also [GHC #8943](https://ghc.haskell.org/trac/ghc/ticket/8943)
53

54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
## 1.2.0.0  *Dec 2013*

  * Update to Cabal 1.10 format
  * Remove NHC specific code
  * Add support for `base-4.7.0.0`
  * Improve `showCommandForUser` to reduce redundant quoting
  * New functions `callProcess`, `callCommand`, `spawnProcess` and `spawnCommand`
  * Implement WCE handling according to http://www.cons.org/cracauer/sigint.html
  * New `delegate_ctlc` field in `CreateProcess` for WCE handling
  * Use `ExitFailure (-signum)` on Unix when a proc is terminated due to
    a signal.
  * Deprecate `module System.Cmd`
  * On non-Windows, the child thread now comunicates any errors back
    to the parent thread via pipes.
  * Fix deadlocks in `readProcess` and `readProcessWithExitCode`