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

reading output of win program from node #2057

Closed
dontsave opened this issue May 4, 2017 · 4 comments
Closed

reading output of win program from node #2057

dontsave opened this issue May 4, 2017 · 4 comments

Comments

@dontsave
Copy link

dontsave commented May 4, 2017

Having an issue with not being able to read the output of a win program spawned in node:

exec('ipconfig.exe', (e, stdout, err) => {
console.log(stdout) //returns a blank line
console.log(e) //returns null
})

similarly with spawn:

const proc = spawn('ipconfig.exe');

proc.stdout.on('data', data => {
	//never gets called
});

I'm not sure how interop is supposed to work but is this expected behavior?

@dontsave dontsave changed the title node and interop reading output of win program from node May 4, 2017
@stehufntdev
Copy link
Collaborator

Can you please fill out the template? There's a lot of helpful information in there for triaging issues.

@benhillis
Copy link
Member

I believe this is a duplicate of #1840

@dontsave
Copy link
Author

dontsave commented May 4, 2017

ah yes sorry i missed #1840. that's the exact issue. closing this

@dontsave dontsave closed this as completed May 4, 2017
@benhillis
Copy link
Member

No problem! Issue is fixed in the most recent Insider fast build I believe.

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

No branches or pull requests

3 participants