Friday, 27 September 2013

Does Windows OS kill a background process that has been idle for a while?(printing)

Does Windows OS kill a background process that has been idle for a
while?(printing)

My code spawns a tiff printer and I want to keep the printer around in
between print sessions. i.e other processes would be performed by my code
in between those print sessions. My problem is that the printer dies off
roughly after 10 minutes each time. I believe this is because the process
associated with the spawned printer(PNSrv9.exe) is killed somehow. So if
the session that occurs in between my print sessions takes longer than 10
minutes, my print session wouldn't work because there would be no printer.
Does anyone know if the OS kills a process if it's not being actively used
after a while or if it is possible that a program can kill itself after a
while if its not being used? I have looked around and found nothing to
indicate the former.

No comments:

Post a Comment