Aug 06
Anibal Escobar sys_process and wkhtmltopdf
Aug 06, 2014; 18:16
Anibal Escobar
sys_process and wkhtmltopdf
Hi, I'm trying to use wkhmtltopdf on a Centos 5 machine running Lasso
9. The following code hangs the page and the pdf is not generated.
local('cmd'='/usr/local/bin/wkhtmltopdf -q -B 12 -L 12 -R 12 -T 12 -O
Portrait -s Letter http://www.google.com google.pdf')
local('shell') = sys_process('/bin/bash',array('-c', #cmd));
local('out') = #shell->read;
!#out->size ? #out = #shell->readerror;
#shell->detach;
#shell->close;
I've verified the path to wkhtmltopdf and bash. The permissions on
wkhtmltopdf are 755. When the command is run on the command line, the
pdf is generated. Any thoughts on what I'm doing wrong?
Thanks,
Anibal Escobar
646 336 5000 x8821
#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 06
Jonathan Guthrie Re: sys_process and wkhtmltopdf
Aug 06, 2014; 18:25
Jonathan Guthrie
Re: sys_process and wkhtmltopdf
Aug 06
Anibal Escobar Re: sys_process and wkhtmltopdf
Aug 06, 2014; 19:26
Anibal Escobar
Re: sys_process and wkhtmltopdf
Aug 06
Anibal Escobar Re: sys_process and wkhtmltopdf
Aug 06, 2014; 19:28
Anibal Escobar
Re: sys_process and wkhtmltopdf
Aug 06
Anibal Escobar Re: sys_process and wkhtmltopdf
Aug 06, 2014; 19:40
Anibal Escobar
Re: sys_process and wkhtmltopdf
Aug 06
Anibal Escobar Re: sys_process and wkhtmltopdf
Aug 06, 2014; 19:46
Anibal Escobar
Re: sys_process and wkhtmltopdf
Aug 06
Jonathan Guthrie Re: sys_process and wkhtmltopdf
Aug 06, 2014; 20:13
Jonathan Guthrie
Re: sys_process and wkhtmltopdf
Aug 06
Jonathan Guthrie Re: sys_process and wkhtmltopdf
Aug 06, 2014; 22:51
Jonathan Guthrie
Re: sys_process and wkhtmltopdf
Aug 08
Anibal Escobar Re: sys_process and wkhtmltopdf
Aug 08, 2014; 11:27
Anibal Escobar
Re: sys_process and wkhtmltopdf
Aug 08
Jonathan Guthrie Re: sys_process and wkhtmltopdf
Aug 08, 2014; 11:43
Jonathan Guthrie
Re: sys_process and wkhtmltopdf
Aug 08
Anibal Escobar Re: sys_process and wkhtmltopdf
Aug 08, 2014; 13:56
Anibal Escobar
Re: sys_process and wkhtmltopdf
Aug 08
Jonathan Guthrie Re: sys_process and wkhtmltopdf
Aug 08, 2014; 14:05
Jonathan Guthrie
Re: sys_process and wkhtmltopdf
Aug 08
Anibal Escobar Re: sys_process and wkhtmltopdf
Aug 08, 2014; 14:39
Anibal Escobar
Re: sys_process and wkhtmltopdf
Aug 08
Jonathan Guthrie Re: sys_process and wkhtmltopdf
Aug 08, 2014; 14:47
Jonathan Guthrie
Re: sys_process and wkhtmltopdf
Aug 08
Anibal Escobar Re: sys_process and wkhtmltopdf
Aug 08, 2014; 14:57
Anibal Escobar
Re: sys_process and wkhtmltopdf
Aug 08
Steffan A. Cline Re: sys_process and wkhtmltopdf
Aug 08, 2014; 11:59
Steffan A. Cline
Re: sys_process and wkhtmltopdf
Aug 08
Steffan A. Cline Re: sys_process and wkhtmltopdf
Aug 08, 2014; 12:23
Steffan A. Cline
Re: sys_process and wkhtmltopdf
Aug 08
Anibal Escobar Re: sys_process and wkhtmltopdf
Aug 08, 2014; 17:11
Anibal Escobar
Re: sys_process and wkhtmltopdf