Skip to content

Passwords with double quotes do not work under windows #132

Description

@JackGruber

Passwords with " do not work under windows, because they are escaped incorrectly?!

Example code

import Seven from "node-7z";
import sevenBin from '7zip-bin'

const pathTo7zip = sevenBin.path7za

const myStream = Seven.add('test.7z', 'test.txt', {
    $bin: pathTo7zip,
    method: ["he"],
    password: 'a"aa',
  })

spawned process 7za.exe a test.7z test.txt -mhe "-pa\"aa" -y -bb3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions