-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
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
Proc_open on Mac #80
Labels
Comments
This comment helped me solve it: #27 (comment) The AbstractGenerator constructor takes an $env argument but the Pdf constructor that inherits from the AbstractGenerator class doesn't expose this argument. By modifying the Pdf constructor to take an optional $env argument, then having that passed to the parent constructor, then supplying array('DYLD_LIBRARY_PATH' => '/usr/lib') as that third argument, my problem was resolved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry to bug you guys. I wish I could figure this out on my own but I'm utterly stuck at this point. I'm running a Mac with MAMP and can run wkhtmltopdf from the command line just fine. In fact I can run the exact command that Snappy is attempting to run (copied and pasted from $command) just fine and get the PDF I'm looking for. I've run chmod a+x and chmod 777 on the executable. I've changed the owner of the executable to the apache account. But when Snappy tries to run the command it fails with exit code 5 and nothing in stderr or stdout. Any ideas?
The text was updated successfully, but these errors were encountered: