Sollicitatievraag bij Morgan Stanley

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

Antwoorden op sollicitatievragen

Anoniem

14 jan 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

Anoniem

4 apr 2011

The process would core dump or hang.