xonsh
xonsh copied to clipboard
Fixed redirect with python substitution
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