public static Process startCPythonShell(DataReceivedEventHandler dataReceivedCallBack) { var cpythonShell = new CPythonShell(); cpythonShell.startCPythonShell(dataReceivedCallBack); return(cpythonShell.cpythonProcess); }
// if we pass a callback for logging we need to start a python shell public static Process executePythonFile(string fileToExecute, DataReceivedEventHandler dataReceivedCallBack) { var cpythonShell = new CPythonShell(); cpythonShell.startCPythonShell(dataReceivedCallBack, fileToExecute); return(cpythonShell.cpythonProcess); }
public static Process startCPythonShell(DataReceivedEventHandler dataReceivedCallBack) { var cpythonShell = new CPythonShell(); cpythonShell.startCPythonShell(dataReceivedCallBack); return cpythonShell.cpythonProcess; }
// if we pass a callback for logging we need to start a python shell public static Process executePythonFile(string fileToExecute, DataReceivedEventHandler dataReceivedCallBack) { var cpythonShell = new CPythonShell(); cpythonShell.startCPythonShell(dataReceivedCallBack, fileToExecute); return cpythonShell.cpythonProcess; }