On Windows, how does console window ownership work?

前端 未结 6 773
無奈伤痛
無奈伤痛 2021-01-13 01:05

When a console application is started from another console application, how does console ownership work?

I see four possibilities:

  1. The second applicati
6条回答
  •  灰色年华
    2021-01-13 02:03

    Each application will run in it's own AppDomain. Each AppDomain should be running it's own console.

    Ah, you're right. I was thinking about running executables within a process and forgot they start their own process - I didn't drill down far enough.

提交回复
热议问题