|
|
@ -812,6 +812,7 @@ fs::path GetSpecialFolderPath(int nFolder, bool fCreate) |
|
|
|
|
|
|
|
|
|
|
|
void runCommand(const std::string& strCommand) |
|
|
|
void runCommand(const std::string& strCommand) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
if (strCommand.empty()) return; |
|
|
|
int nErr = ::system(strCommand.c_str()); |
|
|
|
int nErr = ::system(strCommand.c_str()); |
|
|
|
if (nErr) |
|
|
|
if (nErr) |
|
|
|
LogPrintf("runCommand error: system(%s) returned %d\n", strCommand, nErr); |
|
|
|
LogPrintf("runCommand error: system(%s) returned %d\n", strCommand, nErr); |
|
|
|