DjangoCommands icon indicating copy to clipboard operation
DjangoCommands copied to clipboard

python2 and osx

Open xi2008wang opened this issue 7 years ago • 0 comments

from shutil import which

not compatible python2

if PLATFORM == 'Darwin': command = ["open", "-a", TERMINAL].extend(command)

command=None

subprocess.Popen(command, env=env, cwd=self.cwd)

run fail on osx

xi2008wang avatar Apr 18 '17 02:04 xi2008wang