bpo-35537: Document posix_spawn() change in subprocess#11668
Conversation
|
@izbyshev: Would you mind to review this change? Are you fine with documentating the limitation rather trying to fixing it? |
Sorry, something went wrong.
|
@vstinner I hope that problems with QEMU, WSL and any other Linux environments where Personally, I'd wait at least until we're done with bpo-35823. If it's merged, I'd prefer not to merge a part about "very specific platforms" and wait until we encounter another such case. If it's rejected, I agree that we should document this issue. Also, we could add a parameter to |
Sorry, something went wrong.
Ok, let's do that ;-) |
Sorry, something went wrong.
|
@izbyshev: More generally, I like how things are going one. Slowly, we listed more and more bugs and corner cases, and we had to experiment posix_spawn() and dig into the code (well, in practice that part mostly done by you @izbyshev :-D) to be able to get this list. I'm fine with dropping posix_spawn() from subprocess if we can successfully use vfork in _posixsubprocess. I'm open to different options, as soon as subprocess runs faster :-) |
Sorry, something went wrong.
Document that subprocess.Popen no longer raise an exception on error like missing program on very specific platforms when using os.posix_spawn() is used.
Document that subprocess.Popen no longer raise an exception on error
like missing program on very specific platforms when using
os.posix_spawn() is used.
https://bugs.python.org/issue35537