Skip to content

Instantly share code, notes, and snippets.

View fbudin69500's full-sized avatar

Francois Budin fbudin69500

  • Kitware Inc.
  • Carrboro, NC
View GitHub Profile
@fbudin69500
fbudin69500 / CMakeLists.txt
Last active April 27, 2018 09:27 — forked from jcfr/CMakeLists.txt
CMake project allowing to build ICU 32 and 64-bit for Windows and upload the associated "tar.gz" archives on http://packages.kitware.com
cmake_minimum_required(VERSION 2.8.10.2)
#
# This project allows to configure, build, archive and upload an OpenSSL install tree.
#
if(DEFINED UPLOAD_PACKAGE_SCRIPT)
set(MIDAS_URL "http://packages.kitware.com")
set(FOLDER_ID 203)
import os
from subprocess import Popen, PIPE
cli_path = "/home/fbudin/DTIPrep-build"
cli_name = "DTIPrep"
cli_filepath = os.path.join(cli_path, cli_name)
#cli_filepath = slicer.modules.addscalarvolumes.path
process = Popen([cli_filepath, "--xml"], stdout=PIPE)
output = process.communicate()[0]