Changelog for process
package
- Bug fix: Don't leak pipes on failure #122
- Added
getPid
and export of platform specificPid
type #109
- Allow async exceptions to be delivered to masked thread calling
waitForProcess
#101 - Update Win32 package version to 2.6.x
- Bug fix: Don't close already closed pipes #81
- Relax version bounds of Win32 to allow 2.5.
- Add support for monitoring process tree for termination with the parameter
use_process_jobs
inCreateProcess
on Windows. Also added a functionterminateJob
to kill entire process tree.
- New exposed
withCreateProcess
- Derive
Show
andEq
forCreateProcess
,CmdSpec
, andStdStream
- Added
createPipeFD
#52- New function
createPipeFD
added which returns a POSIX File Descriptor (CInt) instead of a GHC Handle to a pipe
- New function
- Use less CPP #47
- Refactor to have separate Windows and POSIX modules internally
- Remove the broken non-GHC code paths
- Added
child_user
andchild_group
toCreateProcess
for unix. #45
- Add
StdStream(NoStream)
to have standard handles closed. #13 - Support for Windows
DETACHED_PROCESS
andsetsid
#32 - Support for Windows
CREATE_NEW_CONSOLE
#38
-
Meaningful error message when exe not found on close_fds is True
-
New functions
readCreateProcess
andreadCreateProcessWithExitCode
-
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.
-
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
andSystem.Process
are nowSafe
(when compiled with older GHC versions they are justTrustworthy
) -
Expose
createProcess_
function, and document behavior ofUseHandle
forcreateProcess
. See issue #2. -
New
System.Process.createPipe
operation. See also GHC #8943
- 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
andspawnCommand
- Implement WCE handling according to http://www.cons.org/cracauer/sigint.html
- New
delegate_ctlc
field inCreateProcess
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
andreadProcessWithExitCode