- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 342 for STDIN (0.04 sec)
-
src/cmd/vendor/golang.org/x/term/term.go
// commonly found on UNIX systems. // // Putting a terminal into raw mode is the most common requirement: // // oldState, err := term.MakeRaw(int(os.Stdin.Fd())) // if err != nil { // panic(err) // } // defer term.Restore(int(os.Stdin.Fd()), oldState) // // Note that on non-Unix systems os.Stdin.Fd() may not be 0. package term // State contains the state of a terminal. type State struct { state }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:24:28 UTC 2022 - 1.8K bytes - Viewed (0) -
src/os/exec/exec_windows.go
package exec import ( "io/fs" "syscall" ) // skipStdinCopyError optionally specifies a function which reports // whether the provided stdin copy error should be ignored. func skipStdinCopyError(err error) bool { // Ignore ERROR_BROKEN_PIPE and ERROR_NO_DATA errors copying // to stdin if the program completed successfully otherwise. // See Issue 20445. const _ERROR_NO_DATA = syscall.Errno(0xe8) pe, ok := err.(*fs.PathError)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 26 13:47:05 UTC 2022 - 721 bytes - Viewed (0) -
src/os/exec/exec_plan9.go
package exec import "io/fs" // skipStdinCopyError optionally specifies a function which reports // whether the provided stdin copy error should be ignored. func skipStdinCopyError(err error) bool { // Ignore hungup errors copying to stdin if the program // completed successfully otherwise. // See Issue 35753. pe, ok := err.(*fs.PathError) return ok && pe.Op == "write" && pe.Path == "|1" &&
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 26 13:47:05 UTC 2022 - 608 bytes - Viewed (0) -
src/syscall/exec_pdeathsig_test.go
fmt.Fprintf(os.Stderr, "invalid GID: %v\n", err) os.Exit(1) } cmd := exec.Command(os.Args[0]) cmd.Env = append(os.Environ(), "GO_DEATHSIG_PARENT=", "GO_DEATHSIG_CHILD=1", ) cmd.Stdin = os.Stdin cmd.Stdout = os.Stdout attrs := syscall.SysProcAttr{ Pdeathsig: syscall.SIGUSR1, Credential: &syscall.Credential{Uid: uint32(uid), Gid: uint32(gid)}, } cmd.SysProcAttr = &attrs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 21:23:17 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 11.7K bytes - Viewed (0) -
build/pause/windows/wincat/wincat.go
go func() { defer func() { os.Stdout.Close() os.Stdin.Close() conn.CloseRead() wg.Done() }() _, err := io.Copy(os.Stdout, conn) if err != nil { log.Printf("error while copying stream to stdout: %v", err) } }() go func() { defer func() { conn.CloseWrite() wg.Done() }() _, err := io.Copy(conn, os.Stdin) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 26 14:37:02 UTC 2020 - 1.7K bytes - Viewed (0) -
pkg/kubelet/server/server_test.go
"stdout and stderr": {stdout: true, stderr: true, responseStatusCode: http.StatusSwitchingProtocols}, "stdin stdout and stderr": {stdin: true, stdout: true, stderr: true, responseStatusCode: http.StatusSwitchingProtocols}, "stdin stdout stderr with uid": {stdin: true, stdout: true, stderr: true, responseStatusCode: http.StatusSwitchingProtocols, uid: true}, } for desc := range tests {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.5K bytes - Viewed (0) -
docs/debugging/inspect/main.go
"github.com/klauspost/filepathx" ) var ( keyHex = flag.String("key", "", "decryption key") privKeyPath = flag.String("private-key", "support_private.pem", "private key") stdin = flag.Bool("stdin", false, "expect 'mc support inspect' json output from stdin") export = flag.Bool("export", false, "export xl.meta") djson = flag.Bool("djson", false, "expect djson format for xl.meta")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClientFactory.java
ServiceRegistry loggingServices = createLoggingServices(clientLoggingServices); return new DaemonClientServices(loggingServices, daemonParameters, requestContext, stdin); } /** * Creates the services for a {@link DaemonClient} that can be used to run a build in a single-use daemon.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:24:02 UTC 2024 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/doc.go
// to STDIN, STDOUT, and STDERR (0, 1, and 2). No other conversion is performed on the raw // subprotocol - writes are sent as they are received by the server. // // Example client session: // // CONNECT http://server.com with subprotocol "channel.k8s.io" // WRITE []byte{0, 102, 111, 111, 10} # send "foo\n" on channel 0 (STDIN)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 18:37:18 UTC 2023 - 2.9K bytes - Viewed (0)