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); }
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; }