public static int Exec(this IBuildSession session, string filename, string arguments, TimeSpan timeout) { return(Exec(session, config => { config.StartInfo.FileName = filename; config.StartInfo.Arguments = arguments; config.Timeout = timeout; config.OnErrorMessage = m => session.Tracer().Error(m); config.OnOutputMessage = m => session.Tracer().Log(m); })); }
public static void Log(this IBuildSession session, string message) { session.Tracer().Log(message); }
public static void Log(this IBuildSession session, string format, params object[] args) { session.Tracer().Log(format, args); }