BSD-3-Clause licensed
This version can be pinned in stack with:process-1.4.3.0@sha256:cf30533f073721fd059790f0b963fb9b57e3507cffef5141e9377449570b07ca,2021
Module documentation for 1.4.3.0
Used by 158 packages in
nightly-2017-07-25(full list with versions):
Agda,
amazonka-test,
b9,
bake,
BlogLiterately,
bumper,
c2hs,
Cabal,
cabal2nix,
cabal-helper,
cabal-install,
cabal-rpm,
cartel,
clash-ghc,
clash-lib,
clr-inline,
cmdargs,
concurrent-output,
conduit-extra,
configuration-tools,
darcs,
debian-build,
derive,
diagrams-lib,
distribution-nixpkgs,
dmenu,
dmenu-pkill,
dmenu-pmount,
dmenu-search,
doctest,
dotenv,
dyre,
echo,
editor-open,
ersatz,
extra,
funcmp,
ghc,
ghcid,
git-annex,
and many more This package contains libraries for dealing with system processes.
1.4.3.0 December 2016
- New exposed
withCreateProcess
- Derive
Show
and Eq
for CreateProcess
, CmdSpec
, and StdStream
1.4.2.0 January 2016
- Added
createPipeFD
#52
- New function
createPipeFD
added which returns a POSIX File Descriptor (CInt)
instead of a GHC Handle to a pipe
1.4.1.0 November 2015
- Use less CPP #47
- Refactor to have separate Windows and POSIX modules internally
- Remove the broken non-GHC code paths
1.4.0.0 November 2015
- Added
child_user
and child_group
to CreateProcess
for unix. #45
1.3.0.0 August 2015
- Add
StdStream(NoStream)
to have standard handles closed. #13
- Support for Windows
DETACHED_PROCESS
and setsid
#32
- Support for Windows
CREATE_NEW_CONSOLE
#38
1.2.3.0 March 2015
1.2.2.0 Jan 2015
-
Fix delegated CTRL-C handling in createProcess
in case of failed
process creation. See issue #15
for more details.
-
waitpid
on child PID after pre-exec failure in child to prevent zombies.
See also issue #14.
1.2.1.0 Dec 2014
-
Add support for base-4.8.0.0
-
Remove Hugs98 specific code
-
New IsString CmdSpec
instance
-
Expose documentation for System.Process.Internals
-
With GHC 7.10, System.Cmd
and System.Process
are now Safe
(when compiled with older GHC versions they are just Trustworthy
)
-
Expose createProcess_
function, and document behavior of UseHandle
for
createProcess
. See issue #2.
-
New System.Process.createPipe
operation.
See also GHC #8943
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