Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - std::thread t(runCommand, strCmd);
- - t.detach(); // thread runs free
- + namespace bp = boost::process;
- + bp::environment env = boost::this_process::environment();
- + env["BITCOIN_HASHTX"] = wtxIn.GetHash().GetHex();
- + env["BITCOIN_WALLET"] = GetName();
- + std::error_code ec;
- + bp::spawn(strCmd, env);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement