c# - Unable to launch an exe file from webapi Controller MVC -


hi trying launch exe file webapicontroller on receiving request.

the exe file on server. want launch on server.

the exe triggered, can see process name in task manager not access console window.tried adding useshellexecute true. still shows under backround process

  var processinfo = new processstartinfo("cmd.exe", "/c " + command);             processinfo.createnowindow = true;             processinfo.useshellexecute = true;             processinfo.windowstyle = processwindowstyle.maximized;             processinfo.redirectstandarderror = true;             processinfo.redirectstandardoutput = true;              var process = process.start(processinfo); 


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -