Skip to content
Discussion options

You must be logged in to vote

I'm assuming that is coming from the os.system call, which is writing to standard output. The exception will be occurring in a different process, and the Textual code will never see it.

Look in to subprocesses, which will allow you to run a process and capture its output.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tim-Cao
Comment options

Answer selected by Tim-Cao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants