Bug#404872: tcl exec and open cannot pass certain arguments

2007-01-02 Thread Ian Jackson
Chris Waters writes ("Re: Bug#404872: tcl exec and open cannot pass certain arguments"): > Well, it may be a workaround, but: > > tclsh8.4 [~]exec sh -c {echo '>'} > > > tclsh8.4 [~] > > Works For Me(TM). :) This is no good because it

Bug#404872: tcl exec and open cannot pass certain arguments

2006-12-28 Thread Chris Waters
On Thu, Dec 28, 2006 at 07:46:53PM +, Ian Jackson wrote: > The exercise is to allow for example what would be achieved in sh with >echo ">" not a redirect >filename Well, it may be a workaround, but: tclsh8.4 [~]exec sh -c {echo '>'} > tclsh8.4 [~] Works For Me(TM). :) For a mor

Bug#404872: tcl exec and open cannot pass certain arguments

2006-12-28 Thread Ian Jackson
Package: tcl8.4 Version: 8.4.9-1 The `exec' Tcl builtin command, and also `open' when used in pipeline mode, cannot pass certain arguments to commands. Any arguments starting with < or > and many starting with | & 2 will be interpreted as redirection attempts and there is no way to quote or overr