Pregunta de entrevista de Morgan Stanley

What happens when a file that a process is using is deleted

Respuestas de entrevistas

Anónimo

14 ene 2015

That would depend on how the process is using the file. Does the file remain open while the process is ran? If so, it would throw an error. If the process keeps opening and closing it, is it read, write, append? Read would throw an error, append and write would not throw an error.

2

Anónimo

4 abr 2011

The process would core dump or hang.