Hi
@Sachin_Kharmale,
i have tried with the given code, but i am getting some error. pls find the attachment.
Code:
String result="sa";
string ErrorMsg="";
bool isError=true;
try{
ProcessStartInfo start = new ProcessStartInfo();
start.FileName = Python_Executable_File_Path;//cmd is full path to python.exe
start.Arguments = Script_Path;
start.UseShellExecute = false;
start.RedirectStandardOutput = true;
using(Process process = Process.Start(start))
{
using(StreamReader reader = process.StandardOutput)
{
result = reader.ReadToEnd();
}
}
} catch (Exception exp) {
ErrorMsg=exp.Message;
isError=false;
}
Exception=ErrorMsg;
Success=isError;
ScriptOutput=result;
View attachment 5044
View attachment 5045
View attachment 5046
https://www.theplanettoday.com/convert-jpeg-to-pdf/
View attachment 5047