This is an automated email from the ASF dual-hosted git repository.
wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new fc9f89a ARROW-2250: [Python] Do not create a subprocess for plasma
but just use existing process
fc9f89a is described below
commit fc9f89adf7fc7317db785e340799829f483f5aa4
Author: Mitar <[email protected]>
AuthorDate: Fri Mar 9 10:30:32 2018 -0500
ARROW-2250: [Python] Do not create a subprocess for plasma but just use
existing process
Author: Mitar <[email protected]>
Closes #1705 from mitar/ARROW-2250 and squashes the following commits:
4e71d445 <Mitar> ARROW-2250: Do not create a subprocess for plasma but
just use existing process.
---
python/pyarrow/__init__.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/python/pyarrow/__init__.py b/python/pyarrow/__init__.py
index 225dfd0..965a37b 100644
--- a/python/pyarrow/__init__.py
+++ b/python/pyarrow/__init__.py
@@ -156,11 +156,9 @@ def _plasma_store_entry_point():
"""
import os
import pyarrow
- import subprocess
import sys
plasma_store_executable = os.path.join(pyarrow.__path__[0], "plasma_store")
- process = subprocess.Popen([plasma_store_executable] + sys.argv[1:])
- process.wait()
+ os.execv(plasma_store_executable, sys.argv)
# ----------------------------------------------------------------------
# Deprecations
--
To stop receiving notification emails like this one, please contact
[email protected].