Bitcoin Core 28.99.0
P2P Digital Currency
Functions
run_command.h File Reference
#include <string>
Include dependency graph for run_command.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

UniValue RunCommandParseJSON (const std::string &str_command, const std::string &str_std_in="")
 Execute a command which returns JSON, and parse the result. More...
 

Function Documentation

◆ RunCommandParseJSON()

UniValue RunCommandParseJSON ( const std::string &  str_command,
const std::string &  str_std_in = "" 
)

Execute a command which returns JSON, and parse the result.

Parameters
str_commandThe command to execute, including any arguments
str_std_instring to pass to stdin
Returns
parsed JSON

Definition at line 16 of file run_command.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: