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

Return an .all property with both stdout and stderr intermixed #1

Closed
sindresorhus opened this issue Dec 6, 2015 · 5 comments · Fixed by #171
Closed

Return an .all property with both stdout and stderr intermixed #1

sindresorhus opened this issue Dec 6, 2015 · 5 comments · Fixed by #171
Labels
enhancement 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt help wanted

Comments

@sindresorhus
Copy link
Owner

sindresorhus commented Dec 6, 2015

Issuehunt badges

Could be useful to get what the terminal sees.

execa('ava').then(result => {
    console.log(result.all);
});

I don't have the time to implement this right now, so help much appreciated :)

tomsotte earned $80.00 by resolving this issue!

@sotojuan
Copy link

sotojuan commented Jan 5, 2016

Do you want this in an object? Like:

{
  stdout: "...",
  stderr: "..."
}

Or using another representation?

@sindresorhus
Copy link
Owner Author

No, like the above, where result.all is a string.

@sindresorhus
Copy link
Owner Author

Note to self: This should be a lot easier now that we use spawn by default. We could just merge the stdout/stderr streams before passing the merged stream into get-stream. This should wait until we're done with all the other work though.

https://www.npmjs.com/package/merge-stream

@IssueHuntBot
Copy link

@issuehuntfest has funded $80.00 to this issue. See it on IssueHunt

@IssueHuntBot
Copy link

@sindresorhus has rewarded $72.00 to @tomsotte. See it on IssueHunt

  • 💰 Total deposit: $80.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $8.00

@issuehunt-oss issuehunt-oss bot added the 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt label May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt help wanted
Projects
None yet
3 participants