2. You then need to start A process, A process is A need to run in the background of
3. The daemon is responsible for monitoring A, if A hung up the automatic restart
System (" nohup./A & gt; Out. The log 2 & gt; & 1 & amp;" );
The results of this A process and I daemon is A process id, didn't see new process operation
CodePudding user response:
Daemon and not a separate process, what the hell is this??The system is not to the fork and then in the exec
CodePudding user response:
Put this code commented outThe chdir ("/TMP "); Switch working directory/* */
With respect to ok,
But I kill one of the processes, and process A daemon is gone
CodePudding user response:
With kill kill a process cannot be alone