Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion System/Process.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,57 @@

module System.Process (
-- * Running sub-processes

-- ** General interface to process creation

-- | @createProcess@ and @createProcess_@ are general interfaces
-- to process creation. To start with might instead want to use
-- one of the [simpler process creation functions](#g:simpler)
-- below.

createProcess,
createProcess_,

-- ** Creating a @CreateProcess@

-- | Once you have a @CreateProcess@ you can launch it with
-- 'createProcess' or one of the [simpler process creation
-- functions](#g:simpler).

shell, proc,

-- ** @CreateProcess@ and associated types

CreateProcess(..),
CmdSpec(..),
StdStream(..),
ProcessHandle,

-- ** Simpler functions for common tasks
-- * Simpler functions for common tasks #simpler#

-- ** Call, the simplest way of launching a process

callCreateProcess,
callProcess,
callCommand,

-- ** Spawn, obtaining a @ProcessHandle@

spawnProcess,
spawnCommand,

-- ** Read, passing @stdin@ and obtaining @stdout@

readCreateProcess,
readProcess,

-- ** Read with exit code, passing @stdin@, obtaining exit code, @stdout@ and @stderr@

readCreateProcessWithExitCode,
readProcessWithExitCode,

-- ** Other

withCreateProcess,
cleanupProcess,

Expand Down
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Changelog for [`process` package](http://hackage.haskell.org/package/process)

## next
## 1.6.28.0 *April 2026*

* Add `callCreateProcess`
* Improve Haddock

## 1.6.27.0 *March 2026*

Expand Down
2 changes: 1 addition & 1 deletion process.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: process
version: 1.6.27.0
version: 1.6.28.0
-- NOTE: Don't forget to update ./changelog.md
license: BSD-3-Clause
license-file: LICENSE
Expand Down
4 changes: 2 additions & 2 deletions test/process-tests.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: process-tests
version: 1.6.27.0
version: 1.6.28.0
license: BSD-3-Clause
license-file: LICENSE
maintainer: libraries@haskell.org
Expand All @@ -18,7 +18,7 @@ source-repository head

common process-dep
build-depends:
process == 1.6.27.0
process == 1.6.28.0

custom-setup
setup-depends:
Expand Down
Loading