- May
- 13,547
- 197
If I do this in a "host" TCC,
I see that the STARTed TCC was added to the job. But that process doesn't terminate when the host process terminates.
In comparison, if I
I also see that the new TCC was added to the job, and in this case that new TCC terminates when the host TCC terminates.
In the first example above, I'd expect all handles to the job object to be closed when the host TCC exits, but that's apparently not so because the "/K" isn't working.
What is the difference?
Code:
jobs /n=job1 /k
start
jobs /n=job1 %_startpid
jobs /n=job1 /i
I see that the STARTed TCC was added to the job. But that process doesn't terminate when the host process terminates.
In comparison, if I
Code:
jobs /n=job1 /k
start /job=job1
jobs /n=job1 /i
I also see that the new TCC was added to the job, and in this case that new TCC terminates when the host TCC terminates.
In the first example above, I'd expect all handles to the job object to be closed when the host TCC exits, but that's apparently not so because the "/K" isn't working.
What is the difference?