Proposal: overhaul System.Process

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Apr 23 05:27:46 EDT 2008


On Tue, 2008-04-22 at 16:35 -0700, Simon Marlow wrote:
> Duncan Coutts wrote:
> 
> > Do you suppose we can rename the system/rawSystem given that we're
> > already moving them from one module to another?
> > 
> > Just off the top of my head, how about "runShellCommand" & "runProgram",
> > better suggestions welcome.
> 
> Well, ideally we'd do a complete renaming sweep, e.g. runProcess should 
> be spawnProcess (or just removed entirely), then we could use runProcess 
> for what is currently called rawSystem.  But I've got enough flak for 
> changing APIs in the past so I wimped out this time :-)

Ah but this isn't a change, it's a new api, so we have complete freedom.
We're adding a new replacement for system/rawSystem and deprecating the
old module.

Duncan



More information about the Libraries mailing list