GitHub user parente opened a pull request: https://github.com/apache/spark/pull/18339
[SPARK-21094][PYTHON] Add popen_kwargs to launch_gateway ## What changes were proposed in this pull request? Allow the caller to customize the py4j JVM subprocess pipes and buffers for programmatic capturing of its output. https://issues.apache.org/jira/browse/SPARK-21094 has more detail about the use case. ## How was this patch tested? Tested by running the pyspark unit tests locally. You can merge this pull request into a Git repository by running: $ git pull https://github.com/parente/spark feature/SPARK-21094-popen-args Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18339.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18339 ---- commit e9b7743368aa088a0c134cbdcc7e2a39adb4a421 Author: Peter Parente <peter.pare...@maxpoint.com> Date: 2017-06-17T21:17:45Z SPARK-21094: Add popen_kwargs to launch_gateway Allow the caller to customize the py4j JVM subprocess pipes and buffers for programmatic capturing of its output. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org