Re: Why does IDLE use a subprocess?

James Schaffler via IDLE-dev <[email protected]> Thu, 08 Jun 2023 00:28:16 +0000
Newsgroups gmane.comp.python.idle
Message-ID <Y7REfv0XxQGYKtIE1wvMV0s057TUI2OJphDQzkYeras06nuwYtHhYdOqA3HceTz5-xTqRlG4YsoOK9kuVui5-idVjJ_DUTRDFC3MHmZaFQs=@proton.me>
Hi Tal,

On Tuesday, June 6th, 2023, Tal Einat wrote:
> You're welcome to try it yourself! Run IDLE without a subprocess by
> passing the "-n" flag (e.g. python -m idlelib -n), then in the shell
> do things that affect the entire process in various ways.
> 
> Some interesting examples: run a tight loop, run some long-running
> code that runs compiled code rather than Python code, change global
> state such as sys.stdout and sys.stderr, and on and on. Have fun
> breaking IDLE!

Will try! Thank you!

Jim