command prompt do not opens up when calling (.exe) console application from web application c#

前端 未结 2 1327
情歌与酒
情歌与酒 2021-01-27 15:50

i am using this function from my web application to call exe file . when it calls .exe file every thing happens accurately, i can see it as running process in task manager proce

2条回答
  •  执念已碎
    2021-01-27 16:05

    IIS and its child processes are running in different (and windowless) session. So you can't see if window is open. Also some processes may behave strangly due this (you probably did not hit such issues, and unlikly to have problems with console apps).

    You can see it by turning on "Session ID" column in task manager: View -> Select columns-> Session ID (on processes tab).

提交回复
热议问题