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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -