- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for subprocess (0.15 sec)
-
src/runtime/internal/wasitest/tcpecho_test.go
l.Close() break } port++ } subProcess := exec.Command("go", "run", "./testdata/tcpecho.go") subProcess.Env = append(os.Environ(), "GOOS=wasip1", "GOARCH=wasm") switch os.Getenv("GOWASIRUNTIME") { case "wazero": subProcess.Env = append(subProcess.Env, "GOWASIRUNTIMEARGS=--listen="+host) case "wasmtime", "": subProcess.Env = append(subProcess.Env, "GOWASIRUNTIMEARGS=--tcplisten="+host) default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 22:01:11 UTC 2024 - 2.4K bytes - Viewed (0) -
src/runtime/internal/wasitest/nonblock_test.go
args = append(args, path) fifos[len(fifos)-i-1] = &fifo{file, path} } subProcess := exec.Command("go", args...) subProcess.Env = append(os.Environ(), "GOOS=wasip1", "GOARCH=wasm") pr, pw := io.Pipe() defer pw.Close() subProcess.Stderr = pw if err := subProcess.Start(); err != nil { t.Fatal(err) } scanner := bufio.NewScanner(pr) if !scanner.Scan() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 29 15:35:27 UTC 2023 - 2.4K bytes - Viewed (0) -
src/runtime/semasleep_test.go
// quickly. waiting = true go func() { doneCh <- cmd.Wait() close(doneCh) }() // Wait for an arbitrary timeout longer than one second. The subprocess itself // attempts to sleep for one second, but if the machine running the test is // heavily loaded that subprocess may not schedule very quickly even if the // bug remains fixed. (This is fine, because if the bug really is unfixed we
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 17:48:24 UTC 2023 - 3.5K bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image05.py
import subprocess from playwright.sync_api import Playwright, sync_playwright def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_role("button", name="Item", exact=True).click() page.set_viewport_size({"width": 960, "height": 700})
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 829 bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image02.py
import subprocess from playwright.sync_api import Playwright, sync_playwright def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("button", name="Try it out").click()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 873 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_timeout_stdin.txt
# the kernel closes its stdin pipe to to the orphaned subprocess. # At that point, we expect the subprocess to print 'stdin closed' # and periodically log to stderr until the WaitDelay expires. # # Once the WaitDelay expires, the copying goroutine for 'go test' stops and # closes the read side of the stderr pipe, and the subprocess will eventually # exit due to a failed write to that pipe.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 20:23:27 UTC 2023 - 2.2K bytes - Viewed (0) -
src/os/signal/signal_cgo_test.go
// foreground process group. This process will take over as foreground // from subprocess 2 (step 4 above). // - GO_TEST_TERMINAL_SIGNALS=2: This process create a child process // group of subprocess 1, and is the original foreground process group // for the PTY. This subprocess is the one that is SIGSTOP'd. if runtime.GOOS == "dragonfly" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 10:09:15 UTC 2024 - 10.7K bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image01.py
import subprocess from playwright.sync_api import Playwright, sync_playwright def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("POST/items/Create Item").click() page.get_by_role("tab", name="Schema").first.click()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 819 bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image04.py
import subprocess from playwright.sync_api import Playwright, sync_playwright def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_role("button", name="Item-Input").click() page.get_by_role("button", name="Item-Output").click()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 881 bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image03.py
import subprocess from playwright.sync_api import Playwright, sync_playwright def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("tab", name="Schema").click()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 892 bytes - Viewed (0)