[issue6800] os.exec* raises OSError: [Errno 45] Operation not supported in a multithreaded application

2011-01-03 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: I tested this on FreeBSD 8.1 - it outputs 'hello world'. I think this should be closed - i think the os.exec* functions should mirror the operating system exec* functions. If the platform has a limitation then so be it. And it seems

[issue6800] os.exec* raises OSError: [Errno 45] Operation not supported in a multithreaded application

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Agreed, not a Python bug. -- nosy: +pitrou resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6800

[issue6800] os.exec* raises OSError: [Errno 45] Operation not supported in a multithreaded application

2009-12-08 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- assignee: ronaldoussoren - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6800 ___ ___

[issue6800] os.exec* raises OSError: [Errno 45] Operation not supported in a multithreaded application

2009-08-29 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- priority: - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6800 ___ ___ Python-bugs-list

[issue6800] os.exec* raises OSError: [Errno 45] Operation not supported in a multithreaded application

2009-08-29 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: There is no OS level API to kill threads. Python does not kill threads. When you exec, your entire process should be replaced by the OS, threads shouldn't matter they should simply disappear just as the rest of your process state does. This

[issue6800] os.exec* raises OSError: [Errno 45] Operation not supported in a multithreaded application

2009-08-28 Thread Reid Kleckner
New submission from Reid Kleckner r...@mit.edu: The test case is attached. On Mac OS X (and presumably FreeBSD, which has the same behavior) when you try to exec from a process that has any other threads in it, you get an OSError, Operation not supported. Here's the output on my MacBook:

[issue6800] os.exec* raises OSError: [Errno 45] Operation not supported in a multithreaded application

2009-08-28 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The issue with execv seems to be resolved on OSX 10.6, and hence the problem will go away by itself in the future. But until OSX 10.5 and earlier have died of this is a valid issue. My gut feeling is that I'm -1 on killing all threads

[issue6800] os.exec* raises OSError: [Errno 45] Operation not supported in a multithreaded application

2009-08-28 Thread Reid Kleckner
Reid Kleckner r...@mit.edu added the comment: Supposedly this bug also affects FreeBSD, but I can't verify it. I'd say the problem isn't going away, at least not for that platform, but I don't feel like it's worth bending over backwards to deal with it either. As far as it concerns unladen