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
Open

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

szikszail opened this issue Jul 29, 2020 · 0 comments

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 :)
});
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

Successfully merging a pull request may close this issue.

1 participant