fix main example
This commit is contained in:
parent
b746cdbe8c
commit
aa468cc3d2
@ -189,9 +189,9 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
{// ex: utils::exec
|
{// ex: utils::exec
|
||||||
hack::log()(hack::utils::exec("ls"));
|
hack::log()(hack::utils::unix_cmd("ls"));
|
||||||
hack::log()(hack::utils::exec("pwd"));
|
hack::log()(hack::utils::unix_cmd("pwd"));
|
||||||
auto t = hack::utils::exec("pwd");
|
auto t = hack::utils::unix_cmd("pwd");
|
||||||
hack::log::type_trace(t);
|
hack::log::type_trace(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user