public static Process startIronPythonShell(DataReceivedEventHandler dataReceivedCallBack)
        {
            var jythonShell = new IronPythonShell();

            jythonShell.startIronPythonShell(dataReceivedCallBack);
            return(jythonShell.ironPythonProcess);
        }
        // if we pass a callback for logging we need to start a python shell
        public static Process executePythonFile(string fileToExecute, DataReceivedEventHandler dataReceivedCallBack)
        {
            var ironPythonShell = new IronPythonShell();

            ironPythonShell.startIronPythonShell(dataReceivedCallBack, fileToExecute);
            return(ironPythonShell.ironPythonProcess);
        }
Ejemplo n.º 3
0
 public static Process startIronPythonShell(DataReceivedEventHandler dataReceivedCallBack)
 {
     var jythonShell = new IronPythonShell();
     jythonShell.startIronPythonShell(dataReceivedCallBack);
     return jythonShell.ironPythonProcess;            
 }
Ejemplo n.º 4
0
 // if we pass a callback for logging we need to start a python shell
 public static Process executePythonFile(string fileToExecute, DataReceivedEventHandler dataReceivedCallBack)
 {
     var ironPythonShell = new IronPythonShell();
     ironPythonShell.startIronPythonShell(dataReceivedCallBack, fileToExecute);
     return ironPythonShell.ironPythonProcess;            
 }