using shell_exec to call a perl script from php

后端 未结 2 688
野的像风
野的像风 2021-01-25 03:50

I am having an issue with executing a perl script from php using the shell_exec() function.

This is what I have tried (and it has worked before).

$perl =         


        
2条回答
  •  闹比i
    闹比i (楼主)
    2021-01-25 04:13

    Try this:

    $perl = shell_exec("/usr/bin/perl cbh_script_clean.pl 2>/dev/null >/dev/null &"); echo ($perl);

提交回复
热议问题