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 means writing a generalised shell-escape
quoter.

  proc sensible_exec {redirections arguments} {
    set quoted_arguments {}
    foreach arg $arguments {
      lappend quoted_arguments [regsub ... $arg ...

These kinds of things are usually buggy and I wouldn't want to
perpetrate one.

Would it help if I supplied a patch ?

Ian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to