Bitcoin Core 30.99.0
P2P Digital Currency
Functions
run_command.h File Reference
#include <string>
#include <vector>
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::vector< std::string > &cmd_args, const std::string &str_std_in="")
 Execute a command which returns JSON, and parse the result. More...
 

Function Documentation

◆ RunCommandParseJSON()

UniValue RunCommandParseJSON ( const std::vector< std::string > &  cmd_args,
const std::string &  str_std_in = "" 
)

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

Parameters
cmd_argsThe command and arguments
str_std_instring to pass to stdin
Returns
parsed JSON

Definition at line 17 of file run_command.cpp.

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