Sublime Forum

[FIXED 3011] ST3 + OSX 10.7.5: subprocess.Popen not working

#1

if i use subprocess.Popen in any plugin i get this:

The easiest way to repro:

p = subprocess.Popen("echo", "1"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) result, err = p.communicate() print(result.decode("utf-8")) print(err.decode("utf-8"))
The same code surely work with stock python 3.3

crash log:

0 Likes

#2

Confirm this problem, in build 3010. Trying to debug a fork of sublimelinter altered to use flake8 and triped over this problem.

dyld: lazy symbol binding failed: Symbol not found: _dirfd Referenced from: /Applications/Sublime Text.app/Contents/MacOS/plugin_host Expected in: /usr/lib/libSystem.B.dylib

0 Likes