packages/process.git
4 days agoMerge pull request #147 from tomjaguarpaw/patch-1 master
Michael Snoyman [Fri, 14 Jun 2019 19:12:22 +0000 (12:12 -0700)] 
Merge pull request #147 from tomjaguarpaw/patch-1

Clarify documentation for readProcess

4 days agoClarify documentation for readProcess
tomjaguarpaw [Fri, 14 Jun 2019 17:16:54 +0000 (18:16 +0100)] 
Clarify documentation for readProcess

Clarify what it means to be unsuitable for running interactive processes

13 days agoAdd back unreleased changes heading
Michael Snoyman [Wed, 5 Jun 2019 12:13:26 +0000 (06:13 -0600)] 
Add back unreleased changes heading

13 days agoVersion bump/ChangeLog modification
Michael Snoyman [Wed, 5 Jun 2019 12:12:27 +0000 (06:12 -0600)] 
Version bump/ChangeLog modification

8 weeks agoMerge remote-tracking branch 'origin/RyanGlScott-patch-1'
Michael Snoyman [Mon, 22 Apr 2019 05:32:16 +0000 (08:32 +0300)] 
Merge remote-tracking branch 'origin/RyanGlScott-patch-1'

8 weeks agoSwitch Windows to 64-bit
Michael Snoyman [Mon, 22 Apr 2019 05:31:58 +0000 (08:31 +0300)] 
Switch Windows to 64-bit

8 weeks agoLink to readProcess in readProcessWithExitCode Haddocks RyanGlScott-patch-1
Ryan Scott [Sun, 21 Apr 2019 19:39:26 +0000 (15:39 -0400)] 
Link to readProcess in readProcessWithExitCode Haddocks

[ci skip]

2 months agoUpdated tutorial URL
Michael Snoyman [Wed, 10 Apr 2019 08:41:19 +0000 (11:41 +0300)] 
Updated tutorial URL

2 months agoMerge pull request #143 from bgamari/skip-process005
Michael Snoyman [Mon, 8 Apr 2019 16:43:43 +0000 (19:43 +0300)] 
Merge pull request #143 from bgamari/skip-process005

testsuite: Omit process005 in ghci way

right nowRevert "Bump upper bound on unix to < 2.9"
Herbert Valerio Riedel [Wed, 18 Dec 2019 23:44:21 +0000 (00:44 +0100)] 
Revert "Bump upper bound on unix to < 2.9"

This reverts commit ec3a1f5573936ab128802d2bc757abe79695b4d1.

2 months agotestsuite: Mark process002 as fragile in threaded2 way
Ben Gamari [Sat, 6 Apr 2019 13:38:12 +0000 (09:38 -0400)] 
testsuite: Mark process002 as fragile in threaded2 way

As noted in GHC #16547.

2 months agotestsuite: Omit process005 in ghci way
Ben Gamari [Fri, 5 Apr 2019 02:18:02 +0000 (22:18 -0400)] 
testsuite: Omit process005 in ghci way

5 months agoDeclare support for base-4.13
Herbert Valerio Riedel [Tue, 18 Dec 2018 23:36:52 +0000 (00:36 +0100)] 
Declare support for base-4.13

6 months agoMerge pull request #141 from ckoparkar/master
Michael Snoyman [Fri, 14 Dec 2018 03:55:08 +0000 (09:25 +0530)] 
Merge pull request #141 from ckoparkar/master

Fix a -Wincomplete-uni-patterns warning

6 months agoFix a -Wincomplete-uni-patterns warning
Chaitanya Koparkar [Wed, 12 Dec 2018 16:59:29 +0000 (11:59 -0500)] 
Fix a -Wincomplete-uni-patterns warning

This warning will soon be enabled by -Wall (See Trac #15656).

6 months agoAdd back unreleased changes
Michael Snoyman [Sun, 9 Dec 2018 22:06:39 +0000 (00:06 +0200)] 
Add back unreleased changes

6 months agoVersion bump
Michael Snoyman [Sun, 9 Dec 2018 22:05:55 +0000 (00:05 +0200)] 
Version bump

6 months agoMerge pull request #111 from sternmull/issue110
Michael Snoyman [Sun, 9 Dec 2018 13:23:29 +0000 (15:23 +0200)] 
Merge pull request #111 from sternmull/issue110

#110, On Windows ignore ERROR_ACCESS_DENIED for TerminateProcess() if…

6 months ago#110, On Windows ignore ERROR_ACCESS_DENIED for TerminateProcess() if the process...
Tilman Blumhagen [Thu, 16 Nov 2017 18:00:22 +0000 (19:00 +0100)] 
#110, On Windows ignore ERROR_ACCESS_DENIED for TerminateProcess() if the process did terminate

To my knowledge this behavior is not officially documented. But it seems
multiple people discovered ERROR_ACCESS_DENIED when trying to terminate
a process that did already die on its own. For example libuv has a
workaround for this.

8 months agoMerge pull request #138 from GAumala/nostream
Michael Snoyman [Sat, 22 Sep 2018 18:29:11 +0000 (21:29 +0300)] 
Merge pull request #138 from GAumala/nostream

Improve documentation for NoStream

8 months agoImprove documentation for NoStream
Gabriel Aumala [Tue, 18 Sep 2018 12:27:15 +0000 (07:27 -0500)] 
Improve documentation for NoStream

11 months agoAdd back an "unreleased changes" section
Michael Snoyman [Sun, 15 Jul 2018 03:49:49 +0000 (06:49 +0300)] 
Add back an "unreleased changes" section

11 months agoVersion bump
Michael Snoyman [Sun, 15 Jul 2018 03:49:28 +0000 (06:49 +0300)] 
Version bump

11 months agoWork around a Cabal bug haskell/cabal#5337
Michael Snoyman [Sun, 15 Jul 2018 03:48:23 +0000 (06:48 +0300)] 
Work around a Cabal bug haskell/cabal#5337

12 months agoMerge pull request #136 from bgamari/add-base-bounds
Michael Snoyman [Sun, 17 Jun 2018 03:57:59 +0000 (06:57 +0300)] 
Merge pull request #136 from bgamari/add-base-bounds

Add bounds on base in test-suite stanza

12 months agoAdd bounds on base in test-suite stanza
Ben Gamari [Fri, 15 Jun 2018 19:07:55 +0000 (15:07 -0400)] 
Add bounds on base in test-suite stanza

GHC's build system runs `ghc-cabal check` on the cabal files for all of its
core libraries. One of the checks that this performs is to verify that base
has bounds. IMHO it's a bit silly that this is necessary even when base
is otherwise constrained by the library stanza so I've left the bounds
quite loose.

12 months agoMerge pull request #134 from haskell/appveyor-matrix
Michael Snoyman [Wed, 13 Jun 2018 08:19:57 +0000 (01:19 -0700)] 
Merge pull request #134 from haskell/appveyor-matrix

Appveyor matrix and dropped GHC < 7.10.3 support

12 months agoMerge pull request #133 from alpmestan/alp/ls-tests
Michael Snoyman [Wed, 13 Jun 2018 02:49:37 +0000 (19:49 -0700)] 
Merge pull request #133 from alpmestan/alp/ls-tests

process00{1,2} tests: just assume `ls` is in the PATH on non-Windows systems

12 months agoDrop support for GHC < 7.10 appveyor-matrix
Michael Snoyman [Tue, 12 Jun 2018 20:17:21 +0000 (23:17 +0300)] 
Drop support for GHC < 7.10

12 months agoRemove redundant constraint
Michael Snoyman [Tue, 12 Jun 2018 20:17:00 +0000 (23:17 +0300)] 
Remove redundant constraint

12 months agoAdd back autoconf gen to AppVeyor
Michael Snoyman [Tue, 12 Jun 2018 17:17:29 +0000 (20:17 +0300)] 
Add back autoconf gen to AppVeyor

12 months agoImproved CI config (more GHC coverage)
Michael Snoyman [Tue, 12 Jun 2018 17:17:29 +0000 (20:17 +0300)] 
Improved CI config (more GHC coverage)

12 months agoprocess00{1,2} tests: just assume ls is in the PATH on non-Windows systems
Alp Mestanogullari [Tue, 12 Jun 2018 13:48:25 +0000 (15:48 +0200)] 
process00{1,2} tests: just assume ls is in the PATH on non-Windows systems

12 months agoMerge pull request #130 from obsidiansystems/expose-cleanupProcess
Michael Snoyman [Tue, 22 May 2018 05:49:52 +0000 (08:49 +0300)] 
Merge pull request #130 from obsidiansystems/expose-cleanupProcess

expose cleanupProcess

12 months agoAdd release entry for #130
Sridhar Ratnakumar [Mon, 21 May 2018 21:21:57 +0000 (17:21 -0400)] 
Add release entry for #130

13 months agoexpose cleanupProcess
Sridhar Ratnakumar [Thu, 17 May 2018 18:53:17 +0000 (14:53 -0400)] 
expose cleanupProcess

Required when writing our own withCreateProcess (with MonadIO, etc.)

13 months agoMerge pull request #129 from adamse/iomode
Michael Snoyman [Wed, 16 May 2018 03:48:14 +0000 (06:48 +0300)] 
Merge pull request #129 from adamse/iomode

Import IOMode from System.IO instead of GHC.IO.IOMode

13 months agoImport IOMode from System.IO instead of GHC.IO.IOMode
Adam Sandberg Eriksson [Tue, 15 May 2018 19:49:42 +0000 (20:49 +0100)] 
Import IOMode from System.IO instead of GHC.IO.IOMode

14 months agoMerge pull request #126 from haskell/unix-2.8
Michael Snoyman [Mon, 16 Apr 2018 13:00:32 +0000 (16:00 +0300)] 
Merge pull request #126 from haskell/unix-2.8

Bump upper bound on unix to < 2.9

14 months agoBump upper bound on unix to < 2.9
Ryan Scott [Mon, 16 Apr 2018 12:48:31 +0000 (08:48 -0400)] 
Bump upper bound on unix to < 2.9

See https://ghc.haskell.org/trac/ghc/ticket/15042.

14 months agoMerge pull request #124 from haskell/RyanGlScott-patch-1
Michael Snoyman [Tue, 10 Apr 2018 11:47:31 +0000 (14:47 +0300)] 
Merge pull request #124 from haskell/RyanGlScott-patch-1

Bump upper bound on base to < 4.13

14 months agoBump upper bound on base to < 4.13
Ryan Scott [Tue, 10 Apr 2018 11:45:26 +0000 (07:45 -0400)] 
Bump upper bound on base to < 4.13

See https://ghc.haskell.org/trac/ghc/ticket/15018.

14 months agoMerge pull request #123 from Yuras/fd_leak
Michael Snoyman [Wed, 4 Apr 2018 13:25:41 +0000 (16:25 +0300)] 
Merge pull request #123 from Yuras/fd_leak

Close pipes on failure

14 months agoClose pipes on failure
Yuras Shumovich [Tue, 3 Apr 2018 17:58:49 +0000 (20:58 +0300)] 
Close pipes on failure

When we fail to create communication pipe, we should cleanup resources
before exit. E.g. we should close pipes for stdin, stdout and stderr if
they where created. Fixes #122.

16 months agoMerge pull request #117 from Mistuke/patch-1
Michael Snoyman [Sun, 4 Feb 2018 04:39:03 +0000 (06:39 +0200)] 
Merge pull request #117 from Mistuke/patch-1

Update terminateProcess docs

16 months agoDocs update terminateProcess
Tamar Christina [Sat, 3 Feb 2018 21:58:48 +0000 (21:58 +0000)] 
Docs update terminateProcess

16 months agoAdd back "Unreleased changes" section
Michael Snoyman [Mon, 22 Jan 2018 02:56:36 +0000 (04:56 +0200)] 
Add back "Unreleased changes" section

16 months agoChanges for 1.6.3.0 release
Michael Snoyman [Mon, 22 Jan 2018 02:51:46 +0000 (04:51 +0200)] 
Changes for 1.6.3.0 release

17 months agoMerge pull request #113 from Mistuke/fix-path-shenanigans
Michael Snoyman [Thu, 28 Dec 2017 09:43:30 +0000 (11:43 +0200)] 
Merge pull request #113 from Mistuke/fix-path-shenanigans

Process: fix linux test build.

17 months agoProcess: fix linux build.
Tamar Christina [Wed, 27 Dec 2017 13:41:03 +0000 (13:41 +0000)] 
Process: fix linux build.

17 months agoMerge pull request #112 from Mistuke/fix-flaky-test-windows
Michael Snoyman [Wed, 27 Dec 2017 07:02:00 +0000 (09:02 +0200)] 
Merge pull request #112 from Mistuke/fix-flaky-test-windows

Process: fix flaky test.

17 months agoProcess: fix flaky test.
Tamar Christina [Tue, 26 Dec 2017 22:54:01 +0000 (22:54 +0000)] 
Process: fix flaky test.

18 months agoMerge pull request #109 from sternmull/master
Michael Snoyman [Sun, 26 Nov 2017 10:42:21 +0000 (12:42 +0200)] 
Merge pull request #109 from sternmull/master

Added getPid

19 months agoAdded getPid
Tilman Blumhagen [Tue, 14 Nov 2017 16:45:57 +0000 (17:45 +0100)] 
Added getPid

19 months agoAdd back "unreleased changes" to changelog
Michael Snoyman [Tue, 31 Oct 2017 12:04:22 +0000 (14:04 +0200)] 
Add back "unreleased changes" to changelog

19 months agoCut a release for 1.6.2.0
Michael Snoyman [Tue, 31 Oct 2017 12:02:14 +0000 (14:02 +0200)] 
Cut a release for 1.6.2.0

20 months agoMerge pull request #105 from Mistuke/update-win32-to-2.6.0.0
Michael Snoyman [Mon, 25 Sep 2017 18:53:21 +0000 (21:53 +0300)] 
Merge pull request #105 from Mistuke/update-win32-to-2.6.0.0

Bump Win32 constraint up for GHC 8.4

20 months agoupdate changelog
Tamar Christina [Mon, 25 Sep 2017 18:41:41 +0000 (19:41 +0100)] 
update changelog

20 months agoBump Win32 constraint up for GHC 8.4
Tamar Christina [Mon, 25 Sep 2017 18:34:51 +0000 (19:34 +0100)] 
Bump Win32 constraint up for GHC 8.4

21 months agoMerge pull request #104 from bgamari/master
Michael Snoyman [Sun, 17 Sep 2017 15:31:36 +0000 (18:31 +0300)] 
Merge pull request #104 from bgamari/master

Bump upper bound on base

21 months agoBump upper bound on base
Ben Gamari [Thu, 14 Sep 2017 00:08:58 +0000 (20:08 -0400)] 
Bump upper bound on base

21 months agoRevert "process.cabal: Use Hackage URL for typed-process"
Michael Snoyman [Wed, 13 Sep 2017 12:56:39 +0000 (15:56 +0300)] 
Revert "process.cabal: Use Hackage URL for typed-process"

This reverts commit 114179601c1a60bd5cffc5fa11bb2e5cef2298b2.

21 months agoMerge pull request #103 from cocreature/docs-withcreateprocess
Michael Snoyman [Wed, 6 Sep 2017 15:03:08 +0000 (18:03 +0300)] 
Merge pull request #103 from cocreature/docs-withcreateprocess

Improve documentation of withCreateProcess

21 months agoImprove documentation of withCreateProcess
Moritz Kiefer [Wed, 6 Sep 2017 14:53:36 +0000 (16:53 +0200)] 
Improve documentation of withCreateProcess

Previously it was not entirely obvious which handle corresponds to
stdin, stdout and stderr.

21 months agoMerge pull request #102 from erikd/topic/use-hackage-url
Erik de Castro Lopo [Tue, 22 Aug 2017 07:05:55 +0000 (17:05 +1000)] 
Merge pull request #102 from erikd/topic/use-hackage-url

process.cabal: Use Hackage URL for typed-process

22 months agoprocess.cabal: Use Hackage URL for typed-process
Erik de Castro Lopo [Wed, 16 Aug 2017 02:00:58 +0000 (12:00 +1000)] 
process.cabal: Use Hackage URL for typed-process

22 months agoMerge pull request #101 from mitchellwrosen/master
Michael Snoyman [Tue, 8 Aug 2017 05:26:24 +0000 (08:26 +0300)] 
Merge pull request #101 from mitchellwrosen/master

Allow async exceptions to pierce masked waitForProcess

22 months agoUpdate changelog
Mitchell Rosen [Mon, 7 Aug 2017 14:33:28 +0000 (10:33 -0400)] 
Update changelog

22 months agoImprove test
Mitchell Rosen [Thu, 3 Aug 2017 17:04:42 +0000 (13:04 -0400)] 
Improve test

22 months agoAllow async exceptions to pierce masked waitForProcess
Mitchell Rosen [Thu, 3 Aug 2017 15:11:02 +0000 (11:11 -0400)] 
Allow async exceptions to pierce masked waitForProcess

22 months agoFix version number in changelog
Michael Snoyman [Mon, 31 Jul 2017 05:50:01 +0000 (08:50 +0300)] 
Fix version number in changelog

22 months agoAdd "Unreleased changes" section
Michael Snoyman [Thu, 20 Jul 2017 15:58:39 +0000 (18:58 +0300)] 
Add "Unreleased changes" section

22 months agoVersion bump for v1.6.1.0 (fixes #99) v1.6.1.0
Michael Snoyman [Thu, 20 Jul 2017 15:56:17 +0000 (18:56 +0300)] 
Version bump for v1.6.1.0 (fixes #99)

23 months agoMerge pull request #98 from gwils/more-gitignore
Michael Snoyman [Thu, 22 Jun 2017 03:55:22 +0000 (06:55 +0300)] 
Merge pull request #98 from gwils/more-gitignore

gitignore cabal sandbox and new-build files

23 months agogitignore cabal sandbox and new-build files
George Wilson [Thu, 22 Jun 2017 03:32:35 +0000 (13:32 +1000)] 
gitignore cabal sandbox and new-build files

2 years agoMerge pull request #97 from jml/patch-1
Michael Snoyman [Wed, 24 May 2017 14:28:58 +0000 (08:28 -0600)] 
Merge pull request #97 from jml/patch-1

Export withCreateProcess documentation

2 years agoExport withCreateProcess documentation
Jonathan Lange [Mon, 22 May 2017 15:37:35 +0000 (16:37 +0100)] 
Export withCreateProcess documentation

The function is public, but the Haddock documentation isn't being rendered. I think it's a simple matter of removing the `{-` and `-}`, but I haven't tested locally.

2 years agoMerge pull request #94 from bgamari/master
Michael Snoyman [Sun, 23 Apr 2017 08:49:22 +0000 (11:49 +0300)] 
Merge pull request #94 from bgamari/master

System.Process.Posix: Hide mb_delegate_ctlc

2 years agoSystsem.Process.Posix: Hide mb_delegate_ctlc
Ben Gamari [Fri, 21 Apr 2017 23:36:52 +0000 (19:36 -0400)] 
Systsem.Process.Posix: Hide mb_delegate_ctlc

As it is shadowed by other local bindings in this module.

2 years agoMerge pull request #91 from RyanGlScott/master
Michael Snoyman [Thu, 30 Mar 2017 17:01:14 +0000 (20:01 +0300)] 
Merge pull request #91 from RyanGlScott/master

Re-export CGid and friends from System.Process.Internals

2 years agoRe-export CGid and friends from System.Process.Internals
Ryan Scott [Sat, 25 Mar 2017 14:31:31 +0000 (10:31 -0400)] 
Re-export CGid and friends from System.Process.Internals

2 years agoMerge pull request #92 from haskell/fix-appveyor2
Michael Snoyman [Thu, 30 Mar 2017 15:01:01 +0000 (18:01 +0300)] 
Merge pull request #92 from haskell/fix-appveyor2

Fix AppVeyor build by using their msys2 autoreconf

2 years agoFix AppVeyor build by using their msys2 autoreconf
Michael Snoyman [Mon, 27 Mar 2017 13:25:56 +0000 (16:25 +0300)] 
Fix AppVeyor build by using their msys2 autoreconf

2 years agoAppVeyor: make curl available
Michael Snoyman [Mon, 27 Mar 2017 08:29:38 +0000 (11:29 +0300)] 
AppVeyor: make curl available

2 years agoInclude link to typed-process
Michael Snoyman [Thu, 9 Mar 2017 09:09:02 +0000 (11:09 +0200)] 
Include link to typed-process

2 years agoAdd back unreleased changes section
Michael Snoyman [Wed, 22 Feb 2017 10:14:40 +0000 (12:14 +0200)] 
Add back unreleased changes section

2 years agoUpdate ChangeLog for 1.6 release v1.6.0.0
Michael Snoyman [Wed, 22 Feb 2017 10:13:16 +0000 (12:13 +0200)] 
Update ChangeLog for 1.6 release

2 years agoVersion bump for #46 and #58
Michael Snoyman [Tue, 21 Feb 2017 13:54:06 +0000 (15:54 +0200)] 
Version bump for #46 and #58

2 years agoMerge pull request #58 from charles-cooper/master
Michael Snoyman [Tue, 21 Feb 2017 13:52:18 +0000 (15:52 +0200)] 
Merge pull request #58 from charles-cooper/master

Fix #46

2 years agoRemove extra whitespace
Charles Cooper [Mon, 20 Feb 2017 20:19:36 +0000 (12:19 -0800)] 
Remove extra whitespace

2 years agoCheck if waitpidLock is held in getProcessExitCode
Charles Cooper [Fri, 17 Feb 2017 20:03:01 +0000 (12:03 -0800)] 
Check if waitpidLock is held in getProcessExitCode

2 years agoAdd back "Unreleased changes"
Michael Snoyman [Mon, 6 Feb 2017 08:52:09 +0000 (10:52 +0200)] 
Add back "Unreleased changes"

2 years agoUpdate changelog for 1.5.0.0 v1.5.0.0
Michael Snoyman [Mon, 6 Feb 2017 08:51:24 +0000 (10:51 +0200)] 
Update changelog for 1.5.0.0

2 years agoFix warnings
Michael Snoyman [Mon, 6 Feb 2017 08:44:29 +0000 (10:44 +0200)] 
Fix warnings

2 years agoListen to -Werror
Charles Cooper [Sat, 4 Feb 2017 20:43:29 +0000 (15:43 -0500)] 
Listen to -Werror

2 years agoAdd comments
Charles Cooper [Sat, 4 Feb 2017 20:39:42 +0000 (15:39 -0500)] 
Add comments

2 years agoCompile for windows
Charles Cooper [Fri, 3 Feb 2017 15:59:22 +0000 (10:59 -0500)] 
Compile for windows

2 years agoFix waitpid race by adding a lock
Charles Cooper [Fri, 3 Feb 2017 15:41:05 +0000 (10:41 -0500)] 
Fix waitpid race by adding a lock

2 years agoTest multithreaded bug
Charles Cooper [Fri, 3 Feb 2017 15:33:05 +0000 (10:33 -0500)] 
Test multithreaded bug

2 years agoRevert "Fix bug in multi-threaded waitForProcess"
Charles Cooper [Fri, 3 Feb 2017 15:09:20 +0000 (10:09 -0500)] 
Revert "Fix bug in multi-threaded waitForProcess"

This reverts commit d67484fe64a9a42e7daf944a9396b4ec46c060f3.