- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 87 for subprocess (0.32 sec)
-
src/cmd/go/testdata/script/build_cc_cache_issue64423.txt
# by defining CLANG_VENDOR when building clang itself. # # Since we don't want to actually rebuild the Clang toolchain in # this test, we instead simulate it by injecting a fake "clang" # binary that runs the real one as a subprocess. [!cgo] skip [short] skip 'builds and links a fake clang binary' [!cc:clang] skip 'test is specific to clang version parsing' # Save the location of the real clang command for our fake one to use.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 19:13:29 UTC 2023 - 2.9K bytes - Viewed (0) -
scripts/docs.py
import json import logging import os import re import shutil import subprocess from functools import lru_cache from http.server import HTTPServer, SimpleHTTPRequestHandler from importlib import metadata from multiprocessing import Pool from pathlib import Path from typing import Any, Dict, List, Optional, Union import mkdocs.commands.build import mkdocs.commands.serve import mkdocs.config import mkdocs.utils import typer
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jan 22 19:26:14 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/hg.go
// run. // // Instead, we'll take a somewhat more roundabout approach: we assume that // if "hg" works at all then "hg serve" works too, and we'll execute that as // a subprocess, using a reverse proxy to forward the request and response. ctx, cancel := context.WithCancel(req.Context()) defer cancel()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 02:52:19 UTC 2023 - 3.3K bytes - Viewed (0) -
src/net/http/cgi/host.go
return []string{"LD_LIBRARY_PATH", "LD_LIBRARY_PATH_32", "LD_LIBRARY_PATH_64"} case "windows": return []string{"SystemRoot", "COMSPEC", "PATHEXT", "WINDIR"} } return nil }() // Handler runs an executable in a subprocess with a CGI environment. type Handler struct { Path string // path to the CGI executable Root string // root URI prefix of handler or empty for "/" // Dir specifies the CGI executable's working directory.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
teminated = true; } catch (final Exception e) { if (logger.isInfoEnabled()) { logger.info("Could not kill the subprocess.", e); } } } } /** * @param finished * The finished to set. */
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.3K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cc_test.go
// using SIGINT, which will be sent to all of the processes in the test's group. // Unfortunately, TSAN in particular is prone to dropping signals, so the SIGINT // may terminate the test binary but leave the subprocess running. hangProneCmd // configures subprocess to receive SIGKILL instead to ensure that it won't // leak. func hangProneCmd(name string, arg ...string) *exec.Cmd { cmd := exec.Command(name, arg...) cmd.SysProcAttr = &syscall.SysProcAttr{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 20:00:56 UTC 2024 - 14.4K bytes - Viewed (0) -
src/runtime/debug/stack_test.go
// that it is the same GOROOT value baked into the binary, and we can't // change the value in-process because runtime.GOROOT uses the value from // initial (not current) environment. Spawn a subprocess to determine the // real baked-in GOROOT. t.Logf("found GOROOT %q from environment; checking embedded GOROOT value", envGoroot) testenv.MustHaveExec(t) exe, err := os.Executable() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 5.5K bytes - Viewed (0) -
misc/go_android_exec/main.go
args += "; echo -n " + exitStr + "$?" cmd := adbCmd("exec-out", args) cmd.Stdout = filter // If the adb subprocess somehow hangs, go test will kill this wrapper // and wait for our os.Stderr (and os.Stdout) to close as a result. // However, if the os.Stderr (or os.Stdout) file descriptors are // passed on, the hanging adb subprocess will hold them open and // go test will hang forever. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/lockedfile_test.go
} cmd := testenv.Command(t, os.Args[0], "-test.run=^"+t.Name()+"$") cmd.Env = append(os.Environ(), fmt.Sprintf("%s=%s", dirVar, dir)) qDone := make(chan struct{}) waitQ := mustBlock(t, "Edit A and B in subprocess", func() { out, err := cmd.CombinedOutput() if err != nil { t.Errorf("%v:\n%s", err, out) } close(qDone) }) // Wait until process Q has either failed or locked file B.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/link/dwarf_test.go
) // TestMain allows this test binary to run as a -toolexec wrapper for the 'go' // command. If LINK_TEST_TOOLEXEC is set, TestMain runs the binary as if it were // cmd/link, and otherwise runs the requested tool as a subprocess. // // This allows the test to verify the behavior of the current contents of the // cmd/link package even if the installed cmd/link binary is stale. func TestMain(m *testing.M) { if os.Getenv("LINK_TEST_TOOLEXEC") == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 17:05:14 UTC 2023 - 6.9K bytes - Viewed (0)