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

Paths with space fix #47

Merged
merged 4 commits into from
Dec 5, 2019

Conversation

andreban
Copy link
Member

@andreban andreban commented Dec 5, 2019

Closes #45

andreban and others added 3 commits December 5, 2019 09:43
Windows frequently has paths that include spaces. When invoking
commands on the command-line with those paths, the items after the
space are treated as parameters to the command line, instead of
part of the path. Adding quotes around those commands fixes the
issue.
- Removes repeated code from test implementation.
@andreban andreban requested a review from PEConn December 5, 2019 11:07
src/lib/util.js Outdated
@@ -70,7 +70,8 @@ async function untar(tarFile, destinationPath, deleteZipWhenDone = false) {

function execInteractive(cwd, args, env) {
const {spawn} = require('child_process');
const shell = spawn(cwd, args, {
console.log(cwd);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did you mean to leave this in?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope. I actually noticed and removed already :)

@andreban andreban merged commit 40d6dec into GoogleChromeLabs:master Dec 5, 2019
@andreban andreban deleted the paths-with-space-fix branch February 13, 2020 08:15
@andreban andreban added the bug Something isn't working label Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build command fails with "The system cannot find the path specified"
2 participants