We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I want to call soffice.bin directly. However, it seems that unpack() does not exist above v4 (?)
aws-lambda-libreoffice/readme.md
Lines 86 to 98 in 47e61fc
The text was updated successfully, but these errors were encountered:
Solved
https://github.com/shelfio/aws-lambda-brotli-unpacker
example:
const { execSync } = require('child_process'); const { unpack } = require('@shelf/aws-lambda-brotli-unpacker'); module.exports.handler = async event => { const inputPath = '/opt/lo.tar.br'; const outputPath = '/tmp/instdir/program/soffice.bin'; const command = `${outputPath} ....... --convert-to pdf .......`; await unpack({inputPath, outputPath}); execSync(command); };
NOTE: If you use unpack(), the subsequent convertTo() will fail. So I decided to run everything with execSync.
/bin/sh: 1: libreoffice7.4: not found
Sorry, something went wrong.
No branches or pull requests
Hi, I want to call soffice.bin directly.
However, it seems that unpack() does not exist above v4 (?)
aws-lambda-libreoffice/readme.md
Lines 86 to 98 in 47e61fc
Is there a way to do the same?
The text was updated successfully, but these errors were encountered: