Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getCommand (0.05 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

                FileUtil.writeBytes(file.getAbsolutePath(), data);
                return file;
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        private String getCommand(final File scriptFile) {
            if (File.separator.equals("/")) {
                // Unix
                return "sh " + scriptFile.getAbsolutePath() + " $INPUT_FILE $OUTPUT_FILE";
            } else {
                // Windows
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. cni/pkg/cmd/root.go

    			if err != nil {
    				err = fmt.Errorf("%s: %w", cleanErr.Error(), err)
    			} else {
    				err = cleanErr
    			}
    		}
    
    		return
    	},
    }
    
    // GetCommand returns the main cobra.Command object for this application
    func GetCommand() *cobra.Command {
    	return rootCmd
    }
    
    func init() {
    	viper.AutomaticEnv()
    	viper.AllowEmptyEnv(true)
    	viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_"))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            this.outputExtension = outputExtension;
        }
    
        public void setTempDir(final File tempDir) {
            this.tempDir = tempDir;
        }
    
        public void setCommand(final String command) {
            this.command = command;
        }
    
        public void setExecutionTimeout(final long executionTimeout) {
            this.executionTimeout = executionTimeout;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top