如何从nant脚本执行php文件?

时间:2022-11-22 01:10:29

I want to execute one php file from my nant script. How can I do that.

我想从我的nant脚本执行一个php文件。我怎样才能做到这一点。

Any body can help me with a sample code?

任何机构都可以帮我提供示例代码?

1 个解决方案

#1


1  

You want to use the <exec> task. You would use the same paramaters as if you were calling the PHP script from the command line.

您想使用 任务。您将使用相同的参数,就像从命令行调用PHP脚本一样。

#1


1  

You want to use the <exec> task. You would use the same paramaters as if you were calling the PHP script from the command line.

您想使用 任务。您将使用相同的参数,就像从命令行调用PHP脚本一样。