Topics

configtxlator does not stdout with node SDK ('child_process').exec #fabric-sdk-node

Jonathan C.
 

Hi,

From Node SDK, is there anyway to get stdout from configtxlator as it is possible in shell ? It seems that the --output option can not be omitted using (child_process) exec.

Thanks a lot for you help.

Jonathan.

Jason Yellick
 

You may start configtxlator as a server, and invoke its functions as REST APIs.  This is the preferred integration option for Node SDK -- see https://fabric-sdk-node.github.io/tutorial-channel-create.html
 

----- Original message -----
From: "Jonathan C." <chevalier.jonathan@...>
Sent by: fabric@...
To: fabric@...
Cc:
Subject: [Hyperledger Fabric] configtxlator does not stdout with node SDK ('child_process').exec #fabric-sdk-node
Date: Thu, Apr 11, 2019 4:57 PM
 
Hi,

From Node SDK, is there anyway to get stdout from configtxlator as it is possible in shell ? It seems that the --output option can not be omitted using (child_process) exec.

Thanks a lot for you help.

Jonathan.