Hi
I am running a OSQL utility from my console application . iam trying to
install a huge SQL file of 5MB, i debugged my code and the application
is not responding at the following line of code
psi.FileName =
"osql.exe";
psi.Arguments = osqlArgs;
psi.UseShellExecute=false;
psi.CreateNoWindow=true;
psi.RedirectStandardOutput=true;
Process proc = Process.Start (psi);
proc.WaitForExit(); ///// NOt Responding here
{or}
proc.WaitForExit() //Not
Responding
int iSuccess = proc.ExitCode;
Any one please give some possible clue to this?
Regards
JP