mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
included the basic architecture for hpsh implementation
This commit is contained in:
@@ -280,8 +280,12 @@ namespace usr
|
||||
{
|
||||
|
||||
LOG_INFO << "shell input received:" << content;
|
||||
std::string response = hpsh::serve(content.c_str());
|
||||
LOG_INFO << "response: " << response;
|
||||
// std::string response = hpsh::serve(content.c_str());
|
||||
if (hpsh::execute(std::string("user_").append(std::to_string(1)), content.c_str()) == -1)
|
||||
{
|
||||
std::cout << "\nError sending message:" << content.c_str() << std::endl;
|
||||
}
|
||||
// LOG_INFO << "response: " << response;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user