I have .exe application in GO that spawns a child process in windows. When i terminate my parent process for some reason the child process terminates too. However when my parent.exe panics and crashed, the child process continue to execute and does not shutdown.
Ideally I was expecting the child process to keep on living if the parent process shuts down(normally or forcefully)
Is the the default behavior of processes in windows?
In addition to above. I added code to capture any Signal the child process receives if I terminate the Parent Process, It seems that every time i terminate the parent process the child receives an interrupt signal.