- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for subprocess (0.28 sec)
-
configure.py
def run_shell(cmd, allow_non_zero=False, stderr=None): if stderr is None: stderr = sys.stdout if allow_non_zero: try: output = subprocess.check_output(cmd, stderr=stderr) except subprocess.CalledProcessError as e: output = e.output else: output = subprocess.check_output(cmd, stderr=stderr) return output.decode('UTF-8').strip() def cygpath(path): """Convert path from posix to windows."""
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 04:32:44 UTC 2024 - 53.8K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
} // Disable any ssh connection pooling by Git. // If a Git subprocess forks a child into the background to cache a new connection, // that child keeps stdout/stderr open. After the Git subprocess exits, // os/exec expects to be able to read from the stdout/stderr pipe // until EOF to get all the data that the Git subprocess wrote before exiting. // The EOF doesn't come until the child exits too, because the child
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
src/cmd/dist/test.go
} for _, runName := range t.runNames { if runName == name { return true } } return false } func (t *tester) maybeLogMetadata() error { if t.compileOnly { // We need to run a subprocess to log metadata. Don't do that // on compile-only runs. return nil } t.out("Test execution environment.") // Helper binary to print system metadata (CPU model, etc). This is a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
// ETXTBSY errors on Unix platforms (see https://go.dev/issue/22315). // // Since we know what causes those, and we know that they should resolve // quickly (the ETXTBSY error will resolve as soon as the subprocess // holding the descriptor open reaches its 'exec' call), we retry them // in a loop. var ( cmd *exec.Cmd t0 time.Time cancelKilled = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/testing/testing.go
// test would think it could take over global state that way. // // This fix only helps programs where the output is coming directly // from Go code. It does not help programs in which a subprocess is // writing to stderr or stdout at the same time that a Go test is writing output. // It also does not help when the output is coming from the runtime,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/cmd/go/go_test.go
// external network in parallel. If non-nil, it contains one buffer slot per // test (send to acquire), with a low enough limit that the overall number of // connections (summed across subprocesses) stays at or below base.NetLimit. var netTestSem chan struct{} var exeSuffix string = func() string { if runtime.GOOS == "windows" { return ".exe" } return "" }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0)