Built motion from commit f25620e4.|2.6.30
[motion2.git] / server / services / ami / fax / util / gs.js
index 28b7818..45adfe1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd660=['execute','info','Exec\x20gs','util','../../../../config/logger','child_process','exec'];(function(_0x551e7a,_0x371f71){var _0x2dd574=function(_0x59226f){while(--_0x59226f){_0x551e7a['push'](_0x551e7a['shift']());}};_0x2dd574(++_0x371f71);}(_0xd660,0x184));var _0x0d66=function(_0x47680e,_0x1f2270){_0x47680e=_0x47680e-0x0;var _0x35f749=_0xd660[_0x47680e];return _0x35f749;};'use strict';var util=require(_0x0d66('0x0'));var logger=require(_0x0d66('0x1'))('fax');var BPromise=require('bluebird');var exec=require(_0x0d66('0x2'))[_0x0d66('0x3')];exports[_0x0d66('0x4')]=function(_0x277f14){return new BPromise(function(_0x1b97a1,_0x3cbc3d){exec(_0x277f14,function(_0x51f711,_0x2b63ac,_0x2890c1){logger[_0x0d66('0x5')](_0x0d66('0x6'),_0x2b63ac);if(_0x51f711){logger[_0x0d66('0x5')]('Exec\x20gs','\x20Error\x20:',util['inspect'](_0x51f711,{'showHidden':![],'depth':null}),_0x2b63ac,_0x2890c1);_0x3cbc3d(_0x51f711);}_0x1b97a1(_0x2b63ac);});});};
\ No newline at end of file
+var _0xa4ad=['exec','info','Exec\x20gs','\x20Error\x20:','inspect','../../../../config/logger','fax','bluebird','child_process'];(function(_0x1079b3,_0x1c3c8e){var _0x2be27e=function(_0x38d54b){while(--_0x38d54b){_0x1079b3['push'](_0x1079b3['shift']());}};_0x2be27e(++_0x1c3c8e);}(_0xa4ad,0xc2));var _0xda4a=function(_0x3bef2c,_0x5a86fd){_0x3bef2c=_0x3bef2c-0x0;var _0x331503=_0xa4ad[_0x3bef2c];return _0x331503;};'use strict';var util=require('util');var logger=require(_0xda4a('0x0'))(_0xda4a('0x1'));var BPromise=require(_0xda4a('0x2'));var exec=require(_0xda4a('0x3'))[_0xda4a('0x4')];exports['execute']=function(_0x25d81a){return new BPromise(function(_0xdac76c,_0x252c42){exec(_0x25d81a,function(_0x3b092f,_0x3e8421,_0x48d599){logger[_0xda4a('0x5')](_0xda4a('0x6'),_0x3e8421);if(_0x3b092f){logger['info'](_0xda4a('0x6'),_0xda4a('0x7'),util[_0xda4a('0x8')](_0x3b092f,{'showHidden':![],'depth':null}),_0x3e8421,_0x48d599);_0x252c42(_0x3b092f);}_0xdac76c(_0x3e8421);});});};
\ No newline at end of file