A Linux Daemon and the STDIN/STDOUT

前端 未结 6 1696
一生所求
一生所求 2021-02-14 23:30

I am working on a linux daemon and having some issues with the stdin/stdout. Normally because of the nature of a daemon you do not have any stdin or stdout. However, I do have a

6条回答
  •  天涯浪人
    2021-02-15 00:09

    Use a config file. Do not use STDIN or STDOUT with a daemon. Daemons are meant to run in the background with no user interaction.

提交回复
热议问题