Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
( LinkNode.js ) のモジュールgm( Github ) を使用しています。GraphicsMagic
Node.js
gm
GraphicsMagic
モジュールに必要なGraphicsMagicソフトウェアが現在の node.js マシンにインストールされ、完全に機能しているかどうかを判断するにはどうすればよいですか? (サーバーの初期化プロセスでこれを確認したい)gm
コマンド ライン ツールを呼び出して、出力を確認できます。
var exec = require('child_process').exec; exec("gm", function (error, stdout, stderr) { // Validate the output with one of the parameters. });