Пример #1
0
        public void executeCommand(string commands)
        {
            var executionDir = BlindElephant_Py.directoryName();
            var parameters   = "{0} {1}".format(BlindElephant_Py.fileName(), commands);

            PythonExe_Process = Processes.startProcessAndRedirectIO(Python_Exe, parameters, executionDir, handleConsoleMessage);
        }
Пример #2
0
 public bool install()
 {
     if (this.isInstalled().isFalse())
     {
         "[API_BlindElephant] Starting Blind Elephant installation process".info();
         Install_Dir.createDir();
         var svnUrl        = Install_Uri.str();
         var targetFolder  = Install_Dir;
         var svnMappedUrls = SvnApi.HttpMode.getSvnMappedUrls(svnUrl, true);
         //return svnMappedUrls;
         foreach (var svnMappedUrl in svnMappedUrls)
         {
             "   * Downloading: {0}".info(WebEncoding.urlDecode(svnMappedUrl.FullPath.Replace(svnUrl, "")));
             SvnApi.HttpMode.download(svnMappedUrl, svnUrl, targetFolder);
         }
         //var fiddlerInstaller = this.installerFile();
     }
     return(BlindElephant_Py.fileExists());
 }
Пример #3
0
 public override bool isInstalled()
 {
     return(Python_Exe.fileExists() && BlindElephant_Py.fileExists());
 }