-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command output redirect generates "empty" files #7
Comments
I should add this is on macOS/Python 3.12 but can also reproduce on 3.10 on Linux |
Thank you for reporting this. I was finally able to reproduce the issue ... by upgrading the Textualize rich library. It seems that the problem in DTSh is rooted in a recent change to In the meantime, could you please try downgrading the library (anything bellow version 13.8.0), e.g.:
This workaround should at least let you play with DTSh. Thanks. References (rich): |
Workaround for: Command output redirect generates "empty" files See also: #7
Maintenance release, needed to distribute DTSh on PyPI with a pinned version of the rich library. See also: #7
Automatically closed by commit ea1eaf5: reopened to allow the issuer to confirm the fix. |
This is now fixed indeed, thank you! |
When doing e.g. the following command (which works fine without redirecting output):
I get an "empty" file (except for the template). Same happens with .txt and .svg
This is with v0.2.3
The text was updated successfully, but these errors were encountered: