public static string RunSomeApplicationWithConsole()
        {
            var cmdLine = new CmdLineRunner();

            // return cmdLine.RunSyncUtilGetOutput(@"svn",@"log --xml", @"E:\ccp_vhdd_main\Professional\App");
            return(cmdLine.RunSyncUtilGetOutput(@"D:\Program Files\7-Zip\7z.exe", @"a E:\Temp\ToDelete\archives\archives.zip E:\Temp\ConsoleApplication4\ "
                                                , @"E:\Temp\ToDelete\archives"));
        }
예제 #2
0
        public static CommandLineTool getCommandLineTool(string pToolName)
        {
            IRunCmdUtil runCmdUtil = new CmdLineRunner();

            if (runCmdUtil.isToolAvailable(pToolName))
            {
                return(new CommandLineTool(pToolName, runCmdUtil));
            }
            else
            {
                return(null);
            }
        }
        /// <summary>
        /// Executes dir command on some folder
        /// </summary>
        public static void RunSomeApplication()
        {
            var cmdLine = new CmdLineRunner();

            cmdLine.RunSyncUtil(@"svn", @"");
        }