使用 php 中的名称管道

发布于 2024-09-13 16:30:39 字数 121 浏览 1 评论 0原文

只是一个一般性问题,从 php 脚本使用命名管道是否存在任何问题,目前我正在从 php 调用 bash 脚本来写入命名管道。

这将在 Debian Linux 上从 php 脚本与某些后台运行的 C 程序进行通信

just a general question are there any issues with using named pipes from a php script, currently i'm calling a bash script from php to write to a named pipe.

This would be on Debian Linux to communicate from a php script to some background running C program

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

荆棘i 2024-09-20 16:30:39

您可以像写入文件一样写入命名管道。使用fopen函数。

You can write to named pipe like as to file. Use for it fopen function.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文