eidheim/tiny-process-library

Detach a process?

Closed this issue · 1 comments

jaw commented

Can this lib be used to start a process and then let it run while the parent exits?

Yes we do this in https://github.com/eidheim/jucipp/blob/master/src/juci.cc#L88. If I remember correctly, if you start the process in a thread that you detach this will work at least on Posix systems. Let me know if this works in your case.