Stdout/In in spawned terminal - Windows 11 #8985
Unanswered
wilmer-suarez-simplisafe
asked this question in
Help
Replies: 1 comment 5 replies
-
Are you using windowed/noconsole mode? In that case, I don't expect the process to have console (and its standard I/O streams) attached, even if you launch it from console (in this case, apparently the There's not enough context to go by, though. What part of the code raises this error (i.e., |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related to this discussion: https://github.com/orgs/pyinstaller/discussions/8979
Using
sys.executable
to run a script that spawns a new terminal (via miniterm). I seem to be having issues with https://pyinstaller.org/en/stable/common-issues-and-pitfalls.html#sys-stdin-sys-stdout-and-sys-stderr-in-noconsole-windowed-applications-windows-only. I/O doesn't seem to be working in the spawned window.I keep getting the
OSError: [Errno 22] Invalid argument
error forprint()
.Beta Was this translation helpful? Give feedback.
All reactions