Package org.python.pydev.runners

Examples of org.python.pydev.runners.SimpleIronpythonRunner


        junit.textui.TestRunner.run(IronpythonTest.class);
    }

    protected Throwable exec(File f) {
        System.out.println(com.aptana.shared_core.string.StringUtils.format("Running: %s", f));
        Tuple<String, String> output = new SimpleIronpythonRunner().runAndGetOutput(
                new String[] { TestDependent.IRONPYTHON_EXE, "-u",
                        IInterpreterManager.IRONPYTHON_DEFAULT_INTERNAL_SHELL_VM_ARGS, FileUtils.getFileAbsolutePath(f) },
                f.getParentFile(), null, null, "utf-8");

        System.out.println(com.aptana.shared_core.string.StringUtils.format("stdout:%s\nstderr:%s", output.o1, output.o2));
View Full Code Here


            throw new RuntimeException("A jar cannot be used in order to get the info for the iron python interpreter.");
        }

        File script = getInterpreterInfoPy();

        Tuple<String, String> outTup = new SimpleIronpythonRunner().runAndGetOutputWithInterpreter(executable,
                FileUtils.getFileAbsolutePath(script), null, null, null, monitor, "utf-8");

        InterpreterInfo info = createInfoFromOutput(monitor, outTup, askUser);

        if (info == null) {
View Full Code Here

TOP

Related Classes of org.python.pydev.runners.SimpleIronpythonRunner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.