#!/usr/bin/env python2
import sys,os,platform,subprocess

path = os.path.dirname(os.path.abspath(__file__))

if (platform.machine() == 'x86_64') & (platform.system() == 'Linux'):
    sys.argv[0] = path + '../rp++/rp-lin-x64'
    subprocess.call(sys.argv)

elif (platform.machine() == 'x86_64') & (platform.system() == 'Darwin'):
    sys.argv[0] = path + '../rp++/rp-osx-x64'
    subprocess.call(sys.argv)

