allow using a shorter context and increase hydra-notify debug

(cherry picked from commit 1c76ad3936)
This commit is contained in:
Michael Bishop
2019-03-20 15:22:24 -04:00
committed by Samuel Leathers
parent 8a41ea5f60
commit 3ad091faf3
2 changed files with 10 additions and 2 deletions
@@ -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");
});