def start_unity_build_command():
    LOGGER.info('Start Unity Build')
    try:
        build_command = ((((((((options.UnityPath + ' -projectPath ') + options.ProjectPath) + ' -logfile ') + options.LogPath) + ' -buildTarget ') + options.Target) + ' -quit -batchmode -nographics -executeMethod ') + options.ExecutionMethod)
        if (os != 'Windows'):
            process = subprocess.Popen(build_command, shell=True, stdout=subprocess.PIPE)
            process.wait()
        else:
            subprocess.call(build_command)
    except subprocess.CalledProcessError as e:
        sys.exit(e.returncode)
def start_unity_build_command():
    LOGGER.info('Start Unity Build')
    try:
        build_command = ((((((((options.UnityPath + ' -projectPath ') + options.ProjectPath) + ' -logfile ') + options.LogPath) + ' -buildTarget ') + options.Target) + ' -quit -batchmode -nographics -executeMethod ') + options.ExecutionMethod)
        if (os != 'Windows'):
            process = subprocess.Popen(build_command, shell=True, stdout=subprocess.PIPE)
            process.wait()
        else:
            subprocess.call(build_command)
    except subprocess.CalledProcessError as e:
        sys.exit(e.returncode)