Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / services / ami / fax / util / gs.js
index 6e2a548..2e70a07 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1790=['execute','info','Exec\x20gs','\x20Error\x20:','util','../../../../config/logger','fax','bluebird','child_process','exec'];(function(_0xbd006c,_0xca087f){var _0x1c130b=function(_0x3742b1){while(--_0x3742b1){_0xbd006c['push'](_0xbd006c['shift']());}};_0x1c130b(++_0xca087f);}(_0x1790,0x194));var _0x0179=function(_0x50eb28,_0x4ade43){_0x50eb28=_0x50eb28-0x0;var _0x1fa12c=_0x1790[_0x50eb28];return _0x1fa12c;};'use strict';var util=require(_0x0179('0x0'));var logger=require(_0x0179('0x1'))(_0x0179('0x2'));var BPromise=require(_0x0179('0x3'));var exec=require(_0x0179('0x4'))[_0x0179('0x5')];exports[_0x0179('0x6')]=function(_0x1141e7){return new BPromise(function(_0x215796,_0x22fca5){exec(_0x1141e7,function(_0x5b37f5,_0x13e603,_0x52128f){logger[_0x0179('0x7')](_0x0179('0x8'),_0x13e603);if(_0x5b37f5){logger[_0x0179('0x7')]('Exec\x20gs',_0x0179('0x9'),util['inspect'](_0x5b37f5,{'showHidden':![],'depth':null}),_0x13e603,_0x52128f);_0x22fca5(_0x5b37f5);}_0x215796(_0x13e603);});});};
\ No newline at end of file
+var _0x413d=['util','../../../../config/logger','fax','bluebird','child_process','exec','info','Exec\x20gs','inspect'];(function(_0x595961,_0xc0daca){var _0x440cc7=function(_0x48972a){while(--_0x48972a){_0x595961['push'](_0x595961['shift']());}};_0x440cc7(++_0xc0daca);}(_0x413d,0x1dd));var _0xd413=function(_0x710815,_0x520da8){_0x710815=_0x710815-0x0;var _0x5b3b89=_0x413d[_0x710815];return _0x5b3b89;};'use strict';var util=require(_0xd413('0x0'));var logger=require(_0xd413('0x1'))(_0xd413('0x2'));var BPromise=require(_0xd413('0x3'));var exec=require(_0xd413('0x4'))[_0xd413('0x5')];exports['execute']=function(_0x175006){return new BPromise(function(_0x521b45,_0x403be9){exec(_0x175006,function(_0x36c226,_0x601a88,_0x4db93a){logger[_0xd413('0x6')](_0xd413('0x7'),_0x601a88);if(_0x36c226){logger[_0xd413('0x6')](_0xd413('0x7'),'\x20Error\x20:',util[_0xd413('0x8')](_0x36c226,{'showHidden':![],'depth':null}),_0x601a88,_0x4db93a);_0x403be9(_0x36c226);}_0x521b45(_0x601a88);});});};
\ No newline at end of file