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

child_process: clone spawn options argument #579

Closed
wants to merge 1 commit into from
Closed

child_process: clone spawn options argument #579

wants to merge 1 commit into from

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Jan 23, 2015

spawnSync() modifies the options argument. This commit makes a copy of options before any modifications occur. Fixes #576

spawnSync() modifies the options argument. This commit makes
a copy of options before any modifications occur.
@piscisaureus
Copy link
Contributor

@piscisaureus
Copy link
Contributor

Unfortunately the CI seems to be broken atm. Summoning @rvagg - I tried to build the branch "try" but it doesn't work.

@bnoordhuis
Copy link
Member

@piscisaureus I think your forgot to set user to 'cjihrig' (edit: and branch to '576'.)

@piscisaureus
Copy link
Contributor

@bnoordhuis Nope, tried it again, doesn't work. Can you try?

@bnoordhuis
Copy link
Member

@piscisaureus https://jenkins-iojs.nodesource.com/view/iojs/job/iojs+any-pr+multi/105/ looks like it's building the right commit.

@piscisaureus
Copy link
Contributor

looks like it's building the right commit.

You said nothing too much.

@piscisaureus
Copy link
Contributor

@cjihrig
Copy link
Contributor Author

cjihrig commented Jan 24, 2015

@piscisaureus - The Ubuntu failure is test-vm-timeout. The OS X failure is test-fs-watch - this didn't fail for me locally on OS X, and I believe TJ was seeing timeouts on this test today with joyent/node.

@piscisaureus
Copy link
Contributor

@cjihrig please land

cjihrig added a commit that referenced this pull request Jan 26, 2015
spawnSync() modifies the options argument. This commit makes
a copy of options before any modifications occur.

Fixes: #576
PR-URL: #579
Reviewed-By: Bert Belder <[email protected]>
@cjihrig
Copy link
Contributor Author

cjihrig commented Jan 26, 2015

Landed in 7854811

@cjihrig cjihrig closed this Jan 26, 2015
@cjihrig cjihrig deleted the 576 branch January 26, 2015 17:05
@jonathanong
Copy link
Contributor

can we make it not touch the options object instead of copying it?

@cjihrig
Copy link
Contributor Author

cjihrig commented Jan 26, 2015

You're welcome to try.

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.

4 participants