[Idle-dev] Running with subprocesses?
taleinat at gmail.com
Fri Aug 17 00:31:32 CEST 2007
On 8/17/07, Douglas S. Blank <dblank at brynmawr.edu> wrote:
> [Sorry for the barrage of questions... a new semester starting soon... :(]
> It would be nice if an extension, or even a general running program,
> could look somewhere to see if IDLE is running with subprocesses.
> Something like PyShell.using_subprocess = 0. Is there a hack that would
> currently work to tell?
You can check flist.pyshell.interp.rpcclt. The debugging code in
PyShell.py checks that it is not None. The extra-safe version (used in
rpcclt = self.editwin.flist.pyshell.interp.rpcclt
rpcclt = None
This would be a nice addition to PyShell (or perhaps flist?). I'll add
this to my to-do list.
More information about the IDLE-dev