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

fix argv support in windows cmd.exe #157

Merged
merged 1 commit into from
Sep 3, 2018
Merged

fix argv support in windows cmd.exe #157

merged 1 commit into from
Sep 3, 2018

Conversation

mcollina
Copy link
Owner

@mcollina mcollina commented Sep 3, 2018

Fixes #153.

@mcollina
Copy link
Owner Author

mcollina commented Sep 3, 2018

cc @mafintosh

autocannon.js Outdated
@@ -238,5 +239,7 @@ function runTracker (argv, ondone) {
}

if (require.main === module) {
start(parseArguments(process.argv.slice(2)))
const argv = crossArgv(process.argv.slice(2))
console.log(argv)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to log this?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually no.

@mcollina mcollina merged commit b6bbf33 into master Sep 3, 2018
@mcollina mcollina deleted the fix-windows branch September 3, 2018 16:21
@ccalvarez
Copy link

Hi. I'm using autocannon@3.2.0 today, and I'm still needing the \ escape character.

Operating system: Windows 10 Pro Version 1709, Build 16299.847

image

Thank you.

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 this pull request may close these issues.

None yet

3 participants