Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Command throws an error when connecting with pipe #620

Closed
shuse2 opened this issue Sep 17, 2018 · 3 comments
Closed

Command throws an error when connecting with pipe #620

shuse2 opened this issue Sep 17, 2018 · 3 comments

Comments

@shuse2
Copy link
Contributor

shuse2 commented Sep 17, 2018

Description

When connecting the commands with pipe after the command, it will throws an error

./bin/run transaction:sign '{"type":0,"timestamp":123,"senderPublicKey":"abcd1234","amount":"100","asset":{}}' | echo

events.js:183
      throw er; // Unhandled 'error' event
      ^
Error: write EPIPE
    at WriteWrap.afterWrite [as oncomplete] (net.js:868:14)

Reproduces how often: [What percentage of the time does it reproduce?]
Always

Versions

2.0-

@shuse2
Copy link
Contributor Author

shuse2 commented Sep 17, 2018

Related issue on oclif
oclif/command#34

@willclarktech
Copy link
Contributor

This issue should solve this: #577 (comment)

@shuse2 shuse2 added *hard and removed *medium labels Sep 21, 2018
shuse2 added a commit that referenced this issue Sep 25, 2018
Handle pipe connecting error - Closes #620
@shuse2 shuse2 closed this as completed Sep 25, 2018
@mitsuaki-u mitsuaki-u reopened this Sep 27, 2018
@mitsuaki-u
Copy link
Contributor

Reopened due to unaccounted race condition.

@shuse2 shuse2 changed the title Throws an error when connecting with pipe Command throws an error when connecting with pipe Oct 4, 2018
@shuse2 shuse2 closed this as completed Oct 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants