Ejemplo n.º 1
0
 public ExecCommand(ImportEngine eng, XmlNode node)
     : base(eng, node)
 {
     cmd = node.ReadStr("@cmd");
     if (!cmd.StartsWith("cmd "))
     {
         cmd = "cmd /c " + cmd;
     }
     settings         = new ProcessHostSettings();
     settings.LogName = node.ReadStr("@log", settings.LogName);
     settings.LogName = node.ReadStr("@errorlog", settings.LogName);
     settings.ExeName = "cmd.exe";
 }
Ejemplo n.º 2
0
 public ProcessHost(XmlNode node) : base(node)
 {
     Settings = new ProcessHostSettings(node);
 }