jimtcl icon indicating copy to clipboard operation
jimtcl copied to clipboard

Provide a way to pass arbitrary strings to executed commands (likely with TIP 424)

Open xoich opened this issue 2 years ago • 4 comments

With the exec command it's not possible to pass arbitrary strings to commands, because of the special arguments like | and >filename. TIP #424 extends the exec syntax so that a list of raw arguments can be passed to it.

xoich avatar Aug 22 '23 07:08 xoich

Actually I have had an implementation of TIP 424 for a while, that I think is may just be missing some documentation. I just pushed it to branch exec-tip424

You are welcome to try it and report back. Updated documentation is also welcome.

msteveb avatar Aug 22 '23 11:08 msteveb

Fantastic, thank you @msteveb! I tried and it seems to work right. I noticed that In the manual you added the change in the section "Changes between 0.81 and 0.82", shouldn't it be in "Changes since 0.82"?

xoich avatar Aug 22 '23 11:08 xoich

Thanks. Blame the quick automated merge. I'll fix that when I tidy up the branch before merging. Will likely be a while since I'm too busy right now to write documentation

msteveb avatar Aug 22 '23 11:08 msteveb