A Linux Daemon and the STDIN/STDOUT

前端 未结 6 1283
别跟我提以往
别跟我提以往 2021-02-14 23:32

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:07

    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.

提交回复
热议问题