xonsh icon indicating copy to clipboard operation
xonsh copied to clipboard

Fixed redirect with python substitution

Open anki-code opened this issue 1 year ago • 0 comments

Before

xonsh --no-rc
f = p'/tmp/file.tmp'
echo 'abc' > @(f)
# returns error: xonsh: ['/tmp/file.tmp']: unable to open file

After

xonsh --no-rc
f = p'/tmp/file.tmp'
echo 'abc' > @(f)
cat @(f)
# abc

Closes #5420

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

anki-code avatar May 16 '24 12:05 anki-code