Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / services / ami / fax / util / gs.js
index 73aa26a..d60f542 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xae2e=['info','Exec\x20gs','\x20Error\x20:','util','../../../../config/logger','fax','bluebird','child_process','exec','execute'];(function(_0x5d6456,_0x58ecc7){var _0x4d66c1=function(_0x4335e3){while(--_0x4335e3){_0x5d6456['push'](_0x5d6456['shift']());}};_0x4d66c1(++_0x58ecc7);}(_0xae2e,0x12f));var _0xeae2=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0xae2e[_0x5b644e];return _0x49c6bf;};'use strict';var util=require(_0xeae2('0x0'));var logger=require(_0xeae2('0x1'))(_0xeae2('0x2'));var BPromise=require(_0xeae2('0x3'));var exec=require(_0xeae2('0x4'))[_0xeae2('0x5')];exports[_0xeae2('0x6')]=function(_0x31c91b){return new BPromise(function(_0x3d7afc,_0x48f6d1){exec(_0x31c91b,function(_0x4ad8da,_0x425622,_0x4b5ef6){logger[_0xeae2('0x7')](_0xeae2('0x8'),_0x425622);if(_0x4ad8da){logger[_0xeae2('0x7')](_0xeae2('0x8'),_0xeae2('0x9'),util['inspect'](_0x4ad8da,{'showHidden':![],'depth':null}),_0x425622,_0x4b5ef6);_0x48f6d1(_0x4ad8da);}_0x3d7afc(_0x425622);});});};
\ No newline at end of file
+var _0xb5b4=['../../../../config/logger','bluebird','child_process','exec','info','Exec\x20gs','\x20Error\x20:','util'];(function(_0x3e668d,_0x1e1fad){var _0x2fe460=function(_0x335ac5){while(--_0x335ac5){_0x3e668d['push'](_0x3e668d['shift']());}};_0x2fe460(++_0x1e1fad);}(_0xb5b4,0x147));var _0x4b5b=function(_0x2b152a,_0x3dd988){_0x2b152a=_0x2b152a-0x0;var _0x2ad4c7=_0xb5b4[_0x2b152a];return _0x2ad4c7;};'use strict';var util=require(_0x4b5b('0x0'));var logger=require(_0x4b5b('0x1'))('fax');var BPromise=require(_0x4b5b('0x2'));var exec=require(_0x4b5b('0x3'))[_0x4b5b('0x4')];exports['execute']=function(_0x3f04ac){return new BPromise(function(_0x3ef428,_0x4df73a){exec(_0x3f04ac,function(_0x472262,_0x41aef4,_0x20d365){logger[_0x4b5b('0x5')](_0x4b5b('0x6'),_0x41aef4);if(_0x472262){logger[_0x4b5b('0x5')](_0x4b5b('0x6'),_0x4b5b('0x7'),util['inspect'](_0x472262,{'showHidden':![],'depth':null}),_0x41aef4,_0x20d365);_0x4df73a(_0x472262);}_0x3ef428(_0x41aef4);});});};
\ No newline at end of file