1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xd747=['fax','bluebird','child_process','exec','execute','info','Exec\x20gs','\x20Error\x20:','inspect','util','../../../../config/logger'];(function(_0xe4ce33,_0x3ed33f){var _0x556572=function(_0x502635){while(--_0x502635){_0xe4ce33['push'](_0xe4ce33['shift']());}};_0x556572(++_0x3ed33f);}(_0xd747,0x169));var _0x7d74=function(_0x242345,_0x37f974){_0x242345=_0x242345-0x0;var _0x29cb44=_0xd747[_0x242345];return _0x29cb44;};'use strict';var util=require(_0x7d74('0x0'));var logger=require(_0x7d74('0x1'))(_0x7d74('0x2'));var BPromise=require(_0x7d74('0x3'));var exec=require(_0x7d74('0x4'))[_0x7d74('0x5')];exports[_0x7d74('0x6')]=function(_0xfe3952){return new BPromise(function(_0xf4b241,_0x4fbad2){exec(_0xfe3952,function(_0x4dab2b,_0x8a5d68,_0x39631a){logger[_0x7d74('0x7')](_0x7d74('0x8'),_0x8a5d68);if(_0x4dab2b){logger[_0x7d74('0x7')](_0x7d74('0x8'),_0x7d74('0x9'),util[_0x7d74('0xa')](_0x4dab2b,{'showHidden':![],'depth':null}),_0x8a5d68,_0x39631a);_0x4fbad2(_0x4dab2b);}_0xf4b241(_0x8a5d68);});});};