-
-
Notifications
You must be signed in to change notification settings - Fork 991
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
gallery-dl doesn't work with lua subprocess #653
Comments
|
Please add a test for the subprocess if possible. I don't see how it can be done in python as it worked before this fix. Guess python subprocess module calls the program attached to a shell. But Lua doesn't. This can be marked as resolved. I was able to call gallery-dl from Lua's subprocess. Thank you. |
Running your lua script works just fine on my machine, even with a gallery-dl version before 4bc161c, so there is probably something else going on, but at least it now also works for you. $ git checkout v1.13.0
$ lua -v
Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio
$ lua /tmp/script.lua
https://i.imgur.com/sUWPlCL.png
https://i.imgur.com/MsXOF90.png
https://i.imgur.com/aHFeZJe.png
... |
Gallery-dl.exe is in my
PATH
.This call works when called from python
Output
But when executing it in
lua
.The error is this
The text was updated successfully, but these errors were encountered: