Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 34 for stdin (0.04 seconds)

  1. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            }
        }
    
        @Test
        public void test_sendCommand_withRunningProcess() {
            String sessionId = "test_send_command";
            List<String> cmdList = Arrays.asList("cat"); // cat reads from stdin
            Consumer<ProcessBuilder> pbCall = pb -> {
                pb.redirectErrorStream(true);
            };
    
            try {
                JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pbCall);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  2. Vagrantfile

            config.vm.box = windows_2016_box
            windows_common config, box
          end
        end
      end
    end
    
    def deb_common(config, name, extra: '')
      # http://foo-o-rama.com/vagrant--stdin-is-not-a-tty--fix.html
      config.vm.provision 'fix-no-tty', type: 'shell' do |s|
          s.privileged = false
          s.inline = "sudo sed -i '/tty/!s/mesg n/tty -s \\&\\& mesg n/' /root/.profile"
      end
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 17 17:41:23 GMT 2021
    - 14.9K bytes
    - Click Count (0)
  3. cmd/service.go

    // process when successful.
    func restartProcess() error {
    	if runtime.GOOS == globalWindowsOSName {
    		cmd := exec.Command(os.Args[0], os.Args[1:]...)
    		cmd.Stdout = os.Stdout
    		cmd.Stderr = os.Stderr
    		cmd.Stdin = os.Stdin
    		cmd.Env = os.Environ()
    		err := cmd.Run()
    		if err == nil {
    			os.Exit(0)
    		}
    		return err
    	}
    
    	// Use the original binary location. This works with symlinks such that if
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  4. src/cmd/addr2line/addr2line_test.go

    	}
    	return syms
    }
    
    func runAddr2Line(t *testing.T, dbgExePath, addr string) (funcname, path, lineno string) {
    	cmd := testenv.Command(t, testenv.Executable(t), dbgExePath)
    	cmd.Stdin = strings.NewReader(addr)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("go tool addr2line %v: %v\n%s", os.Args[0], err, string(out))
    	}
    	f := strings.Split(string(out), "\n")
    	if len(f) < 3 && f[2] == "" {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 06 13:23:48 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. src/bufio/example_test.go

    	// Buffer contents: Hello, world!
    	// This is a ReadFrom example.
    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading standard input:", err)
    	}
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

         * @see #createTerminal(LookupContext)
         */
        protected void doCreateTerminal(C context, TerminalBuilder builder) {
            if (context.invokerRequest.embedded()) {
                InputStream in = context.invokerRequest.stdIn().orElse(InputStream.nullInputStream());
                OutputStream out = context.invokerRequest.stdOut().orElse(OutputStream.nullOutputStream());
                builder.streams(in, out);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.21.md

    - Client-go exec credential plugins will pass stdin only when interactive terminal is detected on stdin. This fixes a bug where previously it was checking if **stdout** is an interactive terminal. ([#99654](https://github.com/kubernetes/kubernetes/pull/99654), [@ankeesler](https://github.com/ankeesler))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri Oct 14 07:03:14 GMT 2022
    - 367.3K bytes
    - Click Count (0)
  8. src/archive/tar/reader.go

    	// io.CopyN done shortly afterwards to trigger any IO errors.
    	var seekSkipped int64 // Number of bytes skipped via Seek
    	if sr, ok := r.(io.Seeker); ok && n > 1 {
    		// Not all io.Seeker can actually Seek. For example, os.Stdin implements
    		// io.Seeker, but calling Seek always returns an error and performs
    		// no action. Thus, we try an innocent seek to the current position
    		// to see if Seek is really supported.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  9. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), type Timeval struct, Usec int32
    pkg syscall (freebsd-386-cgo), type WaitStatus uint32
    pkg syscall (freebsd-386-cgo), var Stderr int
    pkg syscall (freebsd-386-cgo), var Stdin int
    pkg syscall (freebsd-386-cgo), var Stdout int
    pkg syscall (freebsd-amd64), const F_DUP2FD_CLOEXEC = 18
    pkg syscall (freebsd-amd64), const F_DUP2FD_CLOEXEC ideal-int
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Click Count (1)
  10. api/go1.txt

    pkg os, var ErrExist error
    pkg os, var ErrInvalid error
    pkg os, var ErrNotExist error
    pkg os, var ErrPermission error
    pkg os, var Interrupt Signal
    pkg os, var Kill Signal
    pkg os, var Stderr *File
    pkg os, var Stdin *File
    pkg os, var Stdout *File
    pkg os/exec, func Command(string, ...string) *Cmd
    pkg os/exec, func LookPath(string) (string, error)
    pkg os/exec, method (*Cmd) CombinedOutput() ([]uint8, error)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top