Closed SalmaTofaily closed 6 years ago
It works if you change these lines:
startInfo.FileName = "cmd.exe";
startInfo.Arguments = "srt-vtt a.srt ";
to:
startInfo.FileName = "srt-vtt.exe";
startInfo.Arguments = "a.srt";
as long as srt-vtt.exe
is in your C:\Users\Salma\Desktop\test\
folder.
Also, accessing process.HasExited
after calling process.Close()
will cause an error since Process.Close()
"Frees all the resources that are associated with this component."
@SalmaTofaily Is this still an issue for you? Has my previous comment helped at all?
Closing due to inactivity.
Hello, I tried to run the code from c# but the process did not end and the file was not converted. this is a portion of the code used. Do you have any idea?