Did I find the right examples for you? yes no

All Samples(11)  |  Call(5)  |  Derive(0)  |  Import(6)

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/java2.py   ciel(Download)
from ciel.runtime.exceptions import BlameUserException
import hashlib
from ciel.runtime.executors import hash_update_with_structure,\
    add_package_dep, test_program
from ciel.runtime.fetcher import retrieve_filename_for_ref
    def can_run():
        return test_program(["java", "-version"], "Java")
 

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/ocaml.py   ciel(Download)
from ciel.runtime.exceptions import BlameUserException
import hashlib
from ciel.runtime.executors import hash_update_with_structure,\
    test_program
 
    def can_run():
        return test_program(["ocamlc", "-where"], "OCaml")
 

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/dotnet.py   ciel(Download)
import logging
from ciel.runtime.executors.simple import FilenamesOnStdinExecutor
from ciel.runtime.executors import test_program
from ciel.runtime.exceptions import BlameUserException
from ciel.runtime.fetcher import retrieve_filenames_for_refs
            ciel.log.error("Can't run Mono: SW_MONO_LOADER_PATH not set", "DOTNET", logging.WARNING)
            return False
        return test_program(["mono", mono_loader, "--version"], "Mono")
 
    @classmethod

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/cso.py   ciel(Download)
import os
import ciel
from ciel.runtime.executors import test_program
from ciel.runtime.exceptions import BlameUserException
from ciel.runtime.fetcher import retrieve_filenames_for_refs
            ciel.log.error("Can't run C tasks: SW_C_LOADER_PATH not set", "CEXEC", logging.WARNING)
            return False
        return test_program([c_loader, "--version"], "C-loader")
 
    @classmethod

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/java.py   ciel(Download)
import logging
from ciel.runtime.executors.simple import FilenamesOnStdinExecutor
from ciel.runtime.executors import test_program
from ciel.runtime.exceptions import BlameUserException
from ciel.runtime.fetcher import retrieve_filenames_for_refs
            return False
        JavaExecutor.classpath = os.path.join(jars_dir, 'ciel-0.1.jar')
        return test_program(["java", "-cp", JavaExecutor.classpath, "uk.co.mrry.mercator.task.JarTaskLoader", "--version"], "Java")
 
    @classmethod

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/haskell.py   ciel(Download)
from ciel.runtime.exceptions import BlameUserException
import hashlib
from ciel.runtime.executors import hash_update_with_structure,\
    test_program
from os.path import isabs, join, expanduser