J
James Tsao
I'm trying to run an external image processing application from a web
application. The function below works for a windows application but
when i try to call it from a web app, the image processing app
starts/stops (it pops up briefly in the task manager). i have no way
of knowing why it closed.
I've also tried running with psInfo.UseShellExecute = false, to no
avail. any help would be greatly appreciated.
public void Run()
{
string program = @"""D:\Program Files\WinImageProcessingApp.exe""";
string args = @"""-o1 option1 -o2 option2""";
ProcessStartInfo psInfo = new ProcessStartInfo(program,args);
Process process = Process.Start(psInfo);
process.WaitForExit();
}
thanks.
JT
application. The function below works for a windows application but
when i try to call it from a web app, the image processing app
starts/stops (it pops up briefly in the task manager). i have no way
of knowing why it closed.
I've also tried running with psInfo.UseShellExecute = false, to no
avail. any help would be greatly appreciated.
public void Run()
{
string program = @"""D:\Program Files\WinImageProcessingApp.exe""";
string args = @"""-o1 option1 -o2 option2""";
ProcessStartInfo psInfo = new ProcessStartInfo(program,args);
Process process = Process.Start(psInfo);
process.WaitForExit();
}
thanks.
JT