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

Allow for stdout to return the data in chunks #6

Merged
merged 1 commit into from
Sep 20, 2015

Conversation

jrust
Copy link

@jrust jrust commented Aug 25, 2015

When I ran any ps-node command on windows it was failing with a undefined is not a function because output from the command list empty.

Tracked it down to the fact that the data piped in from wmic command is not guaranteed to come in line by line, but the exit function that finds the beginRow expects each line to be on its own. This fix splits the data as it comes in to fix this bug.

The data piped in from wmic command is not guaranteed to come in line by
line, but the exit function that finds the `beginRow` expects each line
to be on its own. This fix splits the data as it comes in to fix this
bug.
neekey added a commit that referenced this pull request Sep 20, 2015
Allow for stdout to return the data in chunks
@neekey neekey merged commit 3da6787 into neekey:master Sep 20, 2015
@neekey
Copy link
Owner

neekey commented Sep 20, 2015

published in 0.0.5

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