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);
        }
Esempio n. 3
0
 public static Process startIronPythonShell(DataReceivedEventHandler dataReceivedCallBack)
 {
     var jythonShell = new IronPythonShell();
     jythonShell.startIronPythonShell(dataReceivedCallBack);
     return jythonShell.ironPythonProcess;            
 }
Esempio 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;            
 }