3 Jul 03:46
Re: Future [exec] overhaul
From: miguel sofer <miguel.sofer@...>
Subject: Re: Future [exec] overhaul
Newsgroups: gmane.comp.lang.tcl.core
Date: 2008-07-03 01:46:31 GMT
Subject: Re: Future [exec] overhaul
Newsgroups: gmane.comp.lang.tcl.core
Date: 2008-07-03 01:46:31 GMT
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? ------------------------------------------------------------------------- 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
RSS Feed