Is there a "print to file" parameter or its equivalent for bitcoin-cli; so that results from the daemon are recorded

1

Is there any way to "print to file" the queried results of the bitcoin-cli. This would be most helpful in my basic cross platform integration of a program I am making with QB64.

James

Posted 2018-09-29T00:47:45.043

Reputation: 11

2Can't you just redirect the output to a file? bitcoin-cli getblockchaininfo > out.txtRaghav Sood 2018-09-29T00:52:31.443

1

I'm voting to close this question as off-topic because it is really about programming in a variant of Quick-Basic, specifically how in QuickBasic to capture the STDOUT of an external program run in a shell statement. See https://stackoverflow.com/questions/41305926/how-to-pipe-stdout-and-stdin-to-qbasic-program.

RedGrittyBrick 2018-09-30T08:40:26.150

No answers