Ahh, found out that I the first `cat |` was causing the issue for whatever reason, this commit fixed the issue for me:
https://github.com/applieddataconsultants/pdfsnag/commit/27b3b078651260328274b46c852100caba177b29 On Tuesday, July 10, 2012 3:48:20 PM UTC-5, Ben Noordhuis wrote: > > On Tue, Jul 10, 2012 at 10:37 PM, wavded <[email protected]> wrote: > > Thanks Ben for your response: > > > > Your cat example fixed the problem with wkhtmltopdf but .pipe() doesn't > > close properly so the response never finishes. > > > > ``` > > wkhtmltopdf.stdout.pipe(res) > > ``` > > > > This starts a download in the browser but never completes (however if I > kill > > the server it completes :) > > > > I have a ton of strace -f output, is there anything I should look for, I > > could paste it up somewhere if that helps. > > Maybe look at the output of `strace -p $(pidof wkhtmltopdf)`? That > should tell you if and on what wkhtmltopdf blocks. > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
