Skip to content
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

phantomjs stout stderr #13

Open
freb opened this issue Nov 9, 2017 · 0 comments
Open

phantomjs stout stderr #13

freb opened this issue Nov 9, 2017 · 0 comments

Comments

@freb
Copy link
Contributor

freb commented Nov 9, 2017

http://lua-users.org/lists/lua-l/2010-09/msg00955.html

Now that we have timeout working, we should probably spend some time implementing proper error handing into http-screenshot.

Lua doens't have great support for handing the otuput streams from the phtantomjs command. I think the best we can do is pipe the output from stderr to one file, stdout to another file. Phantomjs seems to support stderr and stdout: https://github.com/ariya/phantomjs/blob/master/examples/stdin-stdout-stderr.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant