Same problem is valid for Python. The subprocess module on El Capitan has a bug that has caused me a lot of trouble recently:
http://bugs.python.org/issue26083#msg258011
You'll need to put an updated subprocess.py in your Python path, editing the one provided by OS X is prevented by the System Integrity Protection... ¯\_(ツ)_/¯