Message184403
Kevin,
Indeed the code I submitted can be written entirely in C using pipe fork execl dup2 etc. as you suggest. The only purpose of mixing bash and C is to have a short self-contained file showing the problem.
Anyway, whether in C or bash the workaround is less than satisfying in that it uses up fds 0 1 2, and I have exactly the same goal and constraints as you.
Finally, thanks for identifying the limitation in the python implementation and submitting a patch. Like you I hope it will be eventually applied. |
|
Date |
User |
Action |
Args |
2013-03-17 22:47:48 | emmanuel | set | recipients:
+ emmanuel, vstinner, Kevin.Barry |
2013-03-17 22:47:48 | emmanuel | set | messageid: <1363560468.36.0.273599993923.issue14916@psf.upfronthosting.co.za> |
2013-03-17 22:47:48 | emmanuel | link | issue14916 messages |
2013-03-17 22:47:48 | emmanuel | create | |
|