Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Detach a process? #22

Closed
jaw opened this issue Apr 9, 2017 · 1 comment
Closed

Detach a process? #22

jaw opened this issue Apr 9, 2017 · 1 comment

Comments

@jaw
Copy link

jaw commented Apr 9, 2017

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

@eidheim
Copy link
Owner

eidheim commented Apr 9, 2017

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.

@jaw jaw closed this as completed Apr 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants