Larry McVoy | 3 Jul 04:02

Re: Future [exec] overhaul

On Wed, Jul 02, 2008 at 10:46:31PM -0300, miguel sofer wrote:
> Larry McVoy wrote:
> >On Thu, Jul 03, 2008 at 12:04:02AM +0200, Alexandre Ferrieux wrote:
> >>Hmm, a "portable" [system] could spawn /bin/sh -c in unix and cmd /c
> >>in winblows... But I admit this is so trivial to do in script that it
> >>is off-topic for this discussion.
> >
> >You really don't want to do cmd /c, the two shells are way too different.
> >What we did is make a fair amount of the shell parsing be internal so
> >that we could spawn pipelines, redirect files, etc.  We were also 
> >careful to spot and barf on shell constructs we didn't support.
> >For our needs, it's been great.  And better perf than going through sh.
> 
> Is what you did a Tcl command? Ever thought of maybe contributing a 
> tip+patch? Or even just a patch that we could use for inspiration?

It's not tcl, it's C, it's part of the BK runtime.

Yes, I have thought about contributing it but every time I've run something
up the flag pole here it has been shot into the ground.  Maybe you guys 
should reconsider who is "abrasive".
--

-- 
---
Larry McVoy                lm at bitmover.com           http://www.bitkeeper.com

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

Gmane