While researching a problem I was running into, I recently came across this question, which describes the exact problem I was running into. It was at the time unanswered, so I posted my best solution I've been able to come up with. However, my solution is kind of hacky, and I'd really like a solution that doesn't delve into Python subprocess's private methods and depend on its internal state.
Generally, my next step would be to post a bounty asking for a less hacky solution, but the OP of that question tagged it with python-2.7 and I'm using python-3.6. It just so happens my solution is applicable to both versions, but I wouldn't be surprised if the solution I'm looking for isn't, and I don't want my bounty to go to waste on the wrong problem.
What's my next step here?
- The question is almost 8 years old, and has received absolutely no activity since it was originally posted. So maybe just edit the tags and post a bounty? But that seems questionable, and I doubt that edit would be approved.
- Asking a new question that is nearly identical except the tag is changed (and I add info about my research, etc) seems like just asking for it to be closed as a duplicate, and I can't say I'd disagree with whoever did the closing. This meta question seems to recommend that approach, but since there is already an answer that works for both versions I'm worried it would be a duplicate, and this other meta question suggests different-language-version dupes are still dupes.
- I could write a note in my bounty notice asking for python 3.6 answers, but it seems kind of weird to encourage people to post answers that might not work for the version the question is tagged with.