Skip to content

Commit e751b0a

Browse files
authored
Update README.md
1 parent 3ebd218 commit e751b0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ Create your xontrib step by step from [xontrib-template](https://github.com/xons
9595
* History backends are in `xonsh/history/`.
9696
* Environment variables are in `xonsh/environ.py`.
9797
98+
### Exceptions
99+
100+
#### `Bad file descriptor` or `I/O operation on closed file.`
101+
102+
If you catch this when using callable alias first of all remember that callable alias runs in asynchronous thread and it's not needed to trace exactly this error. Instead of this you need to trace how executing is working and when descriptor is opened and when it closed. The common case is when main thread closes descriptor but child thread uses it later or vice versa. See also [5482](https://github.com/xonsh/xonsh/issues/5482).
103+
98104
## xonsh in docker
99105
100106
### Test in pure Linux environment

0 commit comments

Comments
 (0)