[issue12247] Finding subprocess.py depends on how IDLE is opened

2011-06-02 Thread Ned Deily
Ned Deily added the comment: The difference in behavior you are seeing does indeed have to do with the PATH environment variable. When you start IDLE via a terminal shell, it inherits the PATH value from your shell environment. path_helper(8) sets the default value for a login shell PATH by

[issue12247] Finding subprocess.py depends on how IDLE is opened

2011-06-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: sys.path is probably not relevant here (it's used to import python modules). Can you print the value of os.environ['PATH'] instead? -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue12247] Finding subprocess.py depends on how IDLE is opened

2011-06-02 Thread George Patterson
New submission from George Patterson : I'm uncertain this is a bug, but it seems persistent over several machines and I can't figure out where the issue lies. Most of my troubleshooting has been on a MacBook Pro with Mac OS X version 10.6.7. I have a simple python script 'test.py': import s