buf fix: add mac osx specific subprocess.Popen statment.
bug fix: use "/" instead of "\" as path separator.