allow using a shorter context and increase hydra-notify debug

(cherry picked from commit 1c76ad393669af2f728fd519a050f417319412a6)
This commit is contained in:
Michael Bishop
2018-09-10 13:50:24 -03:00
committed by Samuel Leathers
parent 8a41ea5f60
commit 3ad091faf3
2 changed files with 10 additions and 2 deletions

View File

@ -487,6 +487,7 @@ void State::notificationSender()
argv = {"hydra-notify", "step-finished", std::to_string(item.id), std::to_string(item.stepNr), item.logPath};
break;
};
printMsg(lvlChatty, "Executing hydra-notify " + concatStringsSep(" ", argv));
execvp("hydra-notify", (char * *) stringsToCharPtrs(argv).data()); // FIXME: remove cast
throw SysError("cannot start hydra-notify");
});