Built motion from commit e1760111.|2.6.18
[motion2.git] / server / services / ami / fax / util / gs.js
index 2caa3e7..ec240d9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xce0f=['util','bluebird','child_process','execute','info','Exec\x20gs','\x20Error\x20:'];(function(_0x1c8d0f,_0x5dba30){var _0x4221c3=function(_0x5a3a73){while(--_0x5a3a73){_0x1c8d0f['push'](_0x1c8d0f['shift']());}};_0x4221c3(++_0x5dba30);}(_0xce0f,0x118));var _0xfce0=function(_0xe2fc56,_0x1d43c1){_0xe2fc56=_0xe2fc56-0x0;var _0x32b15=_0xce0f[_0xe2fc56];return _0x32b15;};'use strict';var util=require(_0xfce0('0x0'));var logger=require('../../../../config/logger')('fax');var BPromise=require(_0xfce0('0x1'));var exec=require(_0xfce0('0x2'))['exec'];exports[_0xfce0('0x3')]=function(_0x557185){return new BPromise(function(_0x5735eb,_0x4f32e4){exec(_0x557185,function(_0x37ec10,_0x3672ee,_0xd4dae2){logger[_0xfce0('0x4')](_0xfce0('0x5'),_0x3672ee);if(_0x37ec10){logger[_0xfce0('0x4')]('Exec\x20gs',_0xfce0('0x6'),util['inspect'](_0x37ec10,{'showHidden':![],'depth':null}),_0x3672ee,_0xd4dae2);_0x4f32e4(_0x37ec10);}_0x5735eb(_0x3672ee);});});};
\ No newline at end of file
+var _0xe23d=['\x20Error\x20:','inspect','util','../../../../config/logger','bluebird','child_process','exec','execute','Exec\x20gs','info'];(function(_0x52c4e9,_0x5412d0){var _0x252a03=function(_0x57857c){while(--_0x57857c){_0x52c4e9['push'](_0x52c4e9['shift']());}};_0x252a03(++_0x5412d0);}(_0xe23d,0x160));var _0xde23=function(_0x338a41,_0x975d9b){_0x338a41=_0x338a41-0x0;var _0xd22cf6=_0xe23d[_0x338a41];return _0xd22cf6;};'use strict';var util=require(_0xde23('0x0'));var logger=require(_0xde23('0x1'))('fax');var BPromise=require(_0xde23('0x2'));var exec=require(_0xde23('0x3'))[_0xde23('0x4')];exports[_0xde23('0x5')]=function(_0x446914){return new BPromise(function(_0x53ea3f,_0x75d64c){exec(_0x446914,function(_0x314fce,_0x1d4e1f,_0x5b31ab){logger['info'](_0xde23('0x6'),_0x1d4e1f);if(_0x314fce){logger[_0xde23('0x7')](_0xde23('0x6'),_0xde23('0x8'),util[_0xde23('0x9')](_0x314fce,{'showHidden':![],'depth':null}),_0x1d4e1f,_0x5b31ab);_0x75d64c(_0x314fce);}_0x53ea3f(_0x1d4e1f);});});};
\ No newline at end of file