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

Intermittently the data from the power shell instance is blank #20

Closed
PmoriartyPhoenix opened this issue Mar 16, 2017 · 1 comment
Closed
Assignees

Comments

@PmoriartyPhoenix
Copy link

Intermittently but frequently, I get back an empty string from node-power shell in the then of the promise when the console shows it received data. Rerunning of the command on a new shell instance returns the data.

This is most previlant when I pool and reuse powershell instances, but I can also see this behavior on freshly spawned instances of the shell object.

Any ideas how to get around this and get a reliable return?

Test powershell command is ls | convert-to-json -compress. (Large file set)

Also have bluebird overwriting my Promise object. Node 6.9.1 windows 10

@mattflix
Copy link

Note that issue #26 may be related.

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