#include "current-process.hh" #include "environment-variables.hh" #include "signals.hh" #include "processes.hh" #include "finally.hh" #include "serialise.hh" #include #include #include #include #include #include #include #include #include namespace nix { std::string runProgram(Path program, bool lookupPath, const Strings & args, const std::optional & input, bool isInteractive) { throw UnimplementedError("Cannot shell out to git on Windows yet"); } // Output = error code + "standard out" output stream std::pair runProgram(RunOptions && options) { throw UnimplementedError("Cannot shell out to git on Windows yet"); } void runProgram2(const RunOptions & options) { throw UnimplementedError("Cannot shell out to git on Windows yet"); } std::string statusToString(int status) { if (status != 0) return fmt("with exit code %d", status); else return "succeeded"; } bool statusOk(int status) { return status == 0; } }