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

Use proper stdin options in child_process.spawn() instead of passing a file child.stdin.end() #8

Merged
merged 1 commit into from
Jul 10, 2013

Conversation

nkakuev
Copy link
Contributor

@nkakuev nkakuev commented Jul 10, 2013

Passing a file child.stdin.end() wasn't working in my case, so I decided to rewrite this code in a recommended way.

jed added a commit that referenced this pull request Jul 10, 2013
Use proper stdin options in child_process.spawn() instead of passing a file child.stdin.end()
@jed jed merged commit 01254cf into thom4parisot:master Jul 10, 2013
@jed
Copy link
Contributor

jed commented Jul 10, 2013

cool, thanks @nkakuev!

@nkakuev
Copy link
Contributor Author

nkakuev commented Jul 11, 2013

@jed, sorry, but this commit actually breaks crx.

I was passing private key name instead of its contents to ChromeExtension constructor and that's why child.stdin.end(this.privateKey) wasn't working for me.

Sorry once again. Please undo this commit.

@jed
Copy link
Contributor

jed commented Jul 11, 2013

undone.

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.

2 participants