fix main example

This commit is contained in:
chatlanin 2022-07-24 12:07:43 +03:00
parent b746cdbe8c
commit aa468cc3d2

View File

@ -189,9 +189,9 @@ int main(int argc, char *argv[])
}
{// ex: utils::exec
hack::log()(hack::utils::exec("ls"));
hack::log()(hack::utils::exec("pwd"));
auto t = hack::utils::exec("pwd");
hack::log()(hack::utils::unix_cmd("ls"));
hack::log()(hack::utils::unix_cmd("pwd"));
auto t = hack::utils::unix_cmd("pwd");
hack::log::type_trace(t);
}