#3318: Export System.Process.syncProcess
-------------------------------+--------------------------------------------
Reporter: skorpan | Owner:
Type: proposal | Status: new
Priority: normal | Milestone:
Component: libraries/process | Version: 6.10.3
Severity: normal | Resolution:
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-------------------------------+--------------------------------------------
Comment (by duncan):
I would like to propose instead that the `CreateProcess` record be
extended with something to indicate that it is a foreground process and
that therefore while it is running, control-c handling be delegated to
that process. This feature request is already documented in ticket #2301.
Then `syncProcess` will be redundant, or implemented trivially as:
{{{
(_,_,_,p) <- createProcess c
waitForProcess p
}}}
(as it is implemented already in the Windows case). This is so simple that
it does not need to be provided by the process library.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3318#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs