(command, args, options = {})
| 306 | } |
| 307 | |
| 308 | function runJson(command, args, options = {}) { |
| 309 | return JSON.parse(runText(command, args, options)); |
| 310 | } |
| 311 | |
| 312 | function runText(command, args, options = {}) { |
| 313 | const result = spawnSync(command, args, { |