約32,300件1ページ目

日本語のみで絞り込む

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:.

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.

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/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 ...

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 ...

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 ...

To get the output of the executed command, be sure to set and use the output parameter. Errors/Exceptions ¶. Emits an E_WARNING if exec() is unable to ...

2023/3/26 -The exec() command is similar to shell_exec(), except it returns the last line of the output and, optionally, populates an array with the full ...

2009/11/4 -Replacing the shell_exec call with a call to system, and analysing the return value, I see the call to MainWeb is giving me a 127 return value.

shell_exec. (PHP 4, PHP 5, PHP 7). shell_exec — Execute command via shell and return the complete output as a string ... $output = shell_exec('ls -lart');