-
Notifications
You must be signed in to change notification settings - Fork 138
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
Fix standard output redirect issue when running the Docker command in PowerShell #110
Comments
Thank you, I fixed the typos. However, I was not able to reproduce the issue related to invalid zip files on Windows. When I run the command |
I've just double checked on Windows 10 Pro and it works with command prompt but is does not work with PowerShell. So running However, running |
Thank you for the clarification. I'll add a note that it must be run from cmd.exe. I don't know (yet) how to fix this issue in PowerShell. |
That seems a little bit complicated with PowerShell, see https://stackoverflow.com/questions/46947168/how-to-get-original-binary-data-from-external-command-output-in-powershell |
I have found some typos / inaccuracies on the following page that provides instructions for the CLI:
https://github.com/gildas-lormeau/SingleFileZ/blob/master/cli/README.MD
The pages says:
Whilst this might work on Linux/Mac, it does not work on Windows. If you try the above command on Windows, the file
wikipedia.html
will not be readable by the SingleFileZ extension in the browser (in fact, when I tried this, the filewikipedia.html
was not even a valid zip file). I am guessing that the line endings must have messed up the file (because Windows uses\r\n
for line endings, whereas *nix uses\n
).The page also says the following:
Each of the above 4 commands use
singlefile
as the docker image name, when it should instead besinglefilez
.Many thanks!
The text was updated successfully, but these errors were encountered: