node.js - Does node's exec call block meteor application? -
i building meteor application creates pdf files web page using phantomjs.
phantomjs called node's child_process.exec function within fiber using meteor._wrapasync. when using url google.com, working fine , pdf created.
the problem is, want capture site served same meteor application @ /invoicepdf. during execution of phantomjs site apparently not load, thus, cannot load inside phantomjs, makes finishing call phantomjs impossible.
the solution seemed to use meteor.bindenvironment instead of meteor._wrapasync. unfortunately, have know idea why.
Comments
Post a Comment