Skip to content

Instantly share code, notes, and snippets.

@nisar1
Last active August 29, 2015 13:57
Show Gist options
  • Save nisar1/9911224 to your computer and use it in GitHub Desktop.
Save nisar1/9911224 to your computer and use it in GitHub Desktop.
call console application form asp.net
//call console application form asp.net
//-------------------------------------
string path = HttpContext.Current.Server.MapPath("~/bin/txtProcessor.exe");
ProcessStartInfo info = new ProcessStartInfo(path,"");
Process p = new Process();
info.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
p.StartInfo = info;
p.Start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment