dpjhq00684 2011-11-10 17:43
浏览 69
已采纳

系统守护进程梨

Question,

How can I spurn another process within a daemon?

I want to use the pear system daemon library to spurn a daemon and then spurn off processes within that daemon.

So daemon runs and then a new process is spurn off and does calculation separately then other processes are spurn off that runs separate from the daemon. meanwhile, daemon keeps executing code and spurns off more processes

how can I accomplish this?

  • 写回答

3条回答 默认 最新

  • duanfu7840 2011-11-11 07:36
    关注

    System_Daemon only handles startup/shutdown handling, general signal handling and logging.

    If you want to spawn new processes from your PHP code, you need to use PHP's pcntl functions.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 关于无人驾驶的航向角
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥30 BC260Y用MQTT向阿里云发布主题消息一直错误
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了