約31,800件1ページ目

日本語のみで絞り込む

A string containing the output from the executed command, false if the pipe cannot be established or null if an error occurs or the command produces no output.

2009/12/21 -As you've already seen, when using shell_exec you have to chain your "real" command with echo $? to get the exit status:.

2025/7/11 -The shell_exec() function in PHP executes a command via the shell and returns the complete output as a string. It allows running shell commands ...

2024/11/27 -The function shell_exec() in PHP allows us to execute shell commands directly from a PHP script and captures the output of the command as a ...

The output from the executed command or NULL if an error occurred or the command produces no output. Note: This function can return NULL both when an error ...

2011/6/19 -On the php manual for shell_exec , it shows that the function returns the output as a string. If you expect output from the program you ...

2024/2/6 -Both of exec and shell_exec result in creating the somedatabase database in mysql. But neither of these commands seem to capture the output. I ...

If the result_code argument is present along with the output argument, then the return status of the executed command will be written to this variable. Return ...

2025/7/23 -The shell_exec() function is an inbuilt function in PHP that is used to execute the commands via shell and return the complete output as a ...

The output from the executed command or NULL if an error occurred. Examples. Example #1 A shell_exec() example. <?php $output ...