Interrupt a process and wait for it to terminate, returning a StopProcessResult.
Modulesandwich-0.3.1.0Haskell2010
Test.Sandwich.Util.Process
- 1 type
- 4 values
- Packagesandwich-0.3.1.0
- Exports5
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceProcess.hs
Wait for a process to terminate. If it doesn't terminate within gracePeriodUs microseconds,
send it an interrupt signal and wait for another gracePeriodUs microseconds.
After this time elapses send a terminate signal and wait for the process to die.
Interrupt a process and wait for it to terminate.
Wait for a process to terminate.
If it doesn't terminate within gracePeriodUs microseconds, send it an
interrupt signal and wait for another gracePeriodUs microseconds.
If it doesn't die by this time, send a terminate signal and wait again.
If it still isn't dead, send a kill signal.
Instances4Enum, Eq, Ord, Show
Enum StopProcessResultDefined in sandwich-0.3.1.0 · Test.Sandwich.Util.ProcessEq StopProcessResultDefined in sandwich-0.3.1.0 · Test.Sandwich.Util.ProcessOrd StopProcessResultDefined in sandwich-0.3.1.0 · Test.Sandwich.Util.ProcessShow StopProcessResultDefined in sandwich-0.3.1.0 · Test.Sandwich.Util.Process