約56,700件1ページ目

条件を指定して検索しています。すべての条件を解除する

  • 対象とする言語:日本語
  • To run a command in background, the output must be redirected to /dev/null. This is written in exec() manual page. There are cases where you need the output to ...

    2024/7/1 -You can also call a shell/bash script, which will have the path to the PHP executable available in it as a PHP_BINARY env var. It refers to ...

    To run a shell script with all the variables that you would have when logged in interactively add bash -l or sh --login infront of your command. The script ...

    2025/7/5 -php-node is a tool that allows you to execute PHP scripts as part of a Node.js application. While developing a new server-side Node.js ...

    PHPでシェルスクリプトを実行する方法を紹介。shell_exec や exec など主要な4つのコマンドを詳しく解説し、安全な実行方法も説明します。

    2022/5/27 -理由はわかりませんが、 exec() がスクリプトを正常に実行しました。 ... PHPからシェルスクリプトを安全に実行する方法はありますか? 9 票の賛成 ...

    PHP5 では exec 関数を使って、任意のシェルコマンドを実行することができます。 $result = exec($command);. このようにすることで、$command ...

    2023/6/16 -exec()関数の書式 · 第一引数 $command は、実行するコマンドを指定します。 · 第二引数 $output を指定すると、コマンドの実行結果が格納されます。 · 第三 ...

    2013/11/11 -phpからexec()でコマンド実行した場合のエラー処理まとめ。 出力を処理しない if ( !exec('command',$array)) { //command失敗を検知して処理したい ...

    2015/11/6 -phpでシェルコマンドを実行するのであれば、 $output = shell_exec("ls");. とすれば、 ls を実行した後の結果が output に入ります。