- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 87 for subprocess (0.18 sec)
-
src/cmd/nm/nm_test.go
// GO_NMTEST_IS_NM is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_NMTEST_IS_NM") != "" { main() os.Exit(0) } os.Setenv("GO_NMTEST_IS_NM", "1") // Set for subprocesses to inherit. os.Exit(m.Run()) } // nmPath returns the path to the "nm" binary to run. func nmPath(t testing.TB) string { t.Helper() testenv.MustHaveExec(t) nmPathOnce.Do(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 23:32:34 UTC 2023 - 8.8K bytes - Viewed (0) -
src/cmd/go/internal/script/state.go
// initialEnv (or os.Environ(), if initialEnv is nil). // // The new State also contains pseudo-environment-variables for // ${/} and ${:} (for the platform's path and list separators respectively), // but does not pass those to subprocesses. func NewState(ctx context.Context, workdir string, initialEnv []string) (*State, error) { absWork, err := filepath.Abs(workdir) if err != nil { return nil, err } ctx, cancel := context.WithCancel(ctx)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/vet/vet_test.go
// GO_VETTEST_IS_VET is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_VETTEST_IS_VET") != "" { main() os.Exit(0) } os.Setenv("GO_VETTEST_IS_VET", "1") // Set for subprocesses to inherit. os.Exit(m.Run()) } // vetPath returns the path to the "vet" binary to run. func vetPath(t testing.TB) string { t.Helper() testenv.MustHaveExec(t) vetPathOnce.Do(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K bytes - Viewed (0) -
doc/go1.17_spec.html
} } } // The prime sieve: Daisy-chain filter processes together. func sieve() { ch := make(chan int) // Create a new channel. go generate(ch) // Start generate() as a subprocess. for { prime := <-ch fmt.Print(prime, "\n") ch1 := make(chan int) go filter(ch, ch1, prime) ch = ch1 } } func main() { sieve() } </pre>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/os/signal/doc.go
the synchronous signals, SIGILL, SIGTRAP, SIGSTKFLT, SIGCHLD, SIGPROF, and, on Linux, signals 32 (SIGCANCEL) and 33 (SIGSETXID) (SIGCANCEL and SIGSETXID are used internally by glibc). Subprocesses started by [os.Exec], or by [os/exec], will inherit the modified signal mask. # Changing the behavior of signals in Go programs The functions in this package allow a program to change the way Go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:11:00 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/go/script_test.go
// If time allows, increase the termination grace period to 5% of the // remaining time. if gp := timeout / 20; gp > gracePeriod { gracePeriod = gp } // When we run commands that execute subprocesses, we want to reserve two // grace periods to clean up. We will send the first termination signal when // the context expires, then wait one grace period for the process to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/pack/pack_test.go
// GO_PACKTEST_IS_PACK is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_PACKTEST_IS_PACK") != "" { main() os.Exit(0) } os.Setenv("GO_PACKTEST_IS_PACK", "1") // Set for subprocesses to inherit. os.Exit(m.Run()) } // packPath returns the path to the "pack" binary to run. func packPath(t testing.TB) string { t.Helper() testenv.MustHaveExec(t) packPathOnce.Do(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 16:27:35 UTC 2023 - 12.5K bytes - Viewed (0) -
doc/go_spec.html
} } } // The prime sieve: Daisy-chain filter processes together. func sieve() { ch := make(chan int) // Create a new channel. go generate(ch) // Start generate() as a subprocess. for { prime := <-ch fmt.Print(prime, "\n") ch1 := make(chan int) go filter(ch, ch1, prime) ch = ch1 } } func main() { sieve() } </pre>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (1) -
misc/ios/go_ios_exec.go
# For remote device runs, we need to wait for eStateConnected, # below. run_program() while True: if not listener.WaitForEvent(1, event): continue if not lldb.SBProcess.EventIsProcessEvent(event): continue if running: # Pass through stdout and stderr. while True: out = process.GetSTDOUT(8192) if not out: break sys.stdout.write(out) while True:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 23.4K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* ⬆️ Upgrade Typer to include Rich in scripts for docs. PR [#5502](https://github.com/tiangolo/fastapi/pull/5502) by [@tiangolo](https://github.com/tiangolo). * 🐛 Fix calling `mkdocs` for languages as a subprocess to fix/enable MkDocs Material search plugin. PR [#5501](https://github.com/tiangolo/fastapi/pull/5501) by [@tiangolo](https://github.com/tiangolo). ## 0.85.1 ### Fixes
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 14 15:07:37 UTC 2024 - 395.4K bytes - Viewed (0)