def launch_gmic(): if _gmic_found == False: primary_txt = _("G'Mic not found!") secondary_txt = _("G'Mic binary was not present at <b>/usr/bin/gmic</b>.\nInstall G'MIC to use this tool.") dialogutils.info_message(primary_txt, secondary_txt, gui.editor_window.window) return print "Launch gmic..." gui.save_current_colors() FLOG = open(utils.get_hidden_user_dir_path() + "log_gmic", 'w') subprocess.Popen([sys.executable, respaths.LAUNCH_DIR + "flowbladegmic"], stdin=FLOG, stdout=FLOG, stderr=FLOG)
def launch_natron_animations_tool(): if _natron_found == False: primary_txt = _("Natron not found!") secondary_txt = _("Natron was not present in the system.") # TODO: more info dialogutils.info_message(primary_txt, secondary_txt, gui.editor_window.window) return gui.save_current_colors() current_profile_name = PROJECT().profile.description().replace(" ", "_") print current_profile_name print "Launch Natron tool..." FLOG = open(utils.get_hidden_user_dir_path() + "log_natron_tool", 'w') subprocess.Popen([sys.executable, respaths.LAUNCH_DIR + "flowbladenatron", current_profile_name], stdin=FLOG, stdout=FLOG, stderr=FLOG)
def launch_gmic(): print "Launch gmic..." gui.save_current_colors() FLOG = open(utils.get_hidden_user_dir_path() + "log_gmic", 'w') subprocess.Popen([sys.executable, respaths.LAUNCH_DIR + "flowbladegmic"], stdin=FLOG, stdout=FLOG, stderr=FLOG)