ywangd / stash

StaSh - Shell for Pythonista
MIT License
1.94k stars 227 forks source link

Can't redirect output of _stash() #380

Open tringcooler opened 5 years ago

tringcooler commented 5 years ago
[tmp]$ cat > t1.py
_stash('echo here')

[tmp]$ t1
here
[tmp]$ t1 > &3
here
[tmp]$ t1 | echo sss
here
sss
[tmp]$ 

When use _stash() to invoke commands, its output is always write to _stash.io, and _stash.io can not be redirected.