electron
方法1 #!/usr/bin/env node const { spawn } = require('child_process') const subprocess = spawn('./node_modules/electron/cli.js', ['./index.js'], { 'stdio': ['inherit', 'inherit', 'inherit'] }) 方法2 PATHを通してコマンドを叩く const { spawn …
方法1 #!/usr/bin/env node const { spawn } = require('child_process') const subprocess = spawn('./node_modules/electron/cli.js', ['./index.js'], { 'stdio': ['inherit', 'inherit', 'inherit'] }) 方法2 PATHを通してコマンドを叩く const { spawn …