View Single Post
Old 04-16-2009, 04:15 PM   #18
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by kovidgoyal View Post
html2epub shouldn't require admin access. What errors do you get when running it?
No idea what the errors are. I tried both:
PHP Code:
echo shell_exec('sh html2epub');
echo 
shell_exec('html2epub'); 
I didn't get any output.

I tried doing:
PHP Code:
echo shell_exec('ls');
echo 
shell_exec('sh test.sh'); //test.sh contains chdir to calibre directory and ls 
Those worked just fine.

It's worth noting that the server is using CentOS, I believe, and on a thread in the Calibre forums, a guy had to install it from source to get it working.
ilovejedd is offline   Reply With Quote