是否可以将类似bash脚本或Python脚本的脚本添加到phar并让phar应用程序执行该脚本。
运行PHP的实际示例< 5.4你不能只使用PHP加入组播组。所以我有PHP exec加入mcast组的Python脚本然后我用PHP听。
答案 0 :(得分:0)
执行此操作的唯一方法是将该文件从plot(Sleep~Date, data=progress, xlim=c(DateSeq[1], DateSeq[length(DateSeq)]),
ylim=c(SleepSeq[1], last(SleepSeq)), xlab="Date", xaxt='n', type="l",
ylab="Bedtime", main="Time I went to sleep over time")
axis.Date(1, at=DateSeq, format="%d/%m", las=2, cex.axis=0.9)
提取到临时文件中并执行此文件。