2.0-rewrite #2

Merged
ChrisChrome merged 14 commits from 2.0-rewrite into main 2025-01-25 12:06:49 -07:00
Showing only changes of commit f11f3905ca - Show all commits

View file

@ -1,5 +1,4 @@
const { exec } = require('child_process');
const process = require('child_process').exec(command);
const pool = global.pool
const fpbx = global.fpbx
@ -9,6 +8,7 @@ const log = global.log
const runCommand = (command, onData) => {
return new Promise((resolve, reject) => {
const process = exec(command);
process.stdout.on('data', (data) => {
if (onData) {