Debug admin 1

This commit is contained in:
Christopher Cookman 2025-01-25 09:17:34 -07:00
parent a6dcfeedb6
commit f11f3905ca

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) {