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

Command does not work with path containing white-space #30

Open
szikszail opened this issue Jul 29, 2020 · 0 comments · May be fixed by #47
Open

Command does not work with path containing white-space #30

szikszail opened this issue Jul 29, 2020 · 0 comments · May be fixed by #47

Comments

@szikszail
Copy link

In case, the CWD contains white-space, the command does not work. Same issue as nodejs/node#7367

This can be fixed here as well (in index.js):

return require('child_process').spawn('"' + path.join(__dirname, 'dist/bin', allureCommand) + '"', args, { // adding quotes
   env: process.env,
   stdio: 'inherit',
   shell: true, // enabling shell, to support quotes :)
});
@mohd-akram mohd-akram linked a pull request Feb 23, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant