#13 irattach: use daemon() to increase portability

open
nobody
None
5
2010-12-08
2010-12-08
Mike Frysinger
No

rather than using the fork function (which doesnt work on nommu systems), simply use the daemon() function instead (which does work). this should work the same before and after for all systems -- detach from the terminal and run in the background.

Discussion