Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for subprocess (0.24 sec)

  1. 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)
  2. 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)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download_windows.go

    	// a parent is a console process without console is not clearly documented
    	// but empirically we observed the new console is created and attached to the
    	// subprocess in the default setup.
    	//
    	// Ensure no new console is attached to the subprocess by setting CREATE_NO_WINDOW.
    	//   https://learn.microsoft.com/en-us/windows/console/creation-of-a-console
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. .github/actions/people/app/main.py

        logging.info("Setting up GitHub Actions git user")
        subprocess.run(["git", "config", "user.name", "github-actions"], check=True)
        subprocess.run(
            ["git", "config", "user.email", "******@****.***"], check=True
        )
        branch_name = "fastapi-people"
        logging.info(f"Creating a new branch {branch_name}")
        subprocess.run(["git", "checkout", "-b", branch_name], check=True)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 17:38:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/abi_test.go

    type TintPointer struct {
    	p *Tint
    }
    
    func (*TintPointer) m() {}
    
    func TestFinalizerRegisterABI(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	// Actually run the test in a subprocess because we don't want
    	// finalizers from other tests interfering.
    	if os.Getenv("TEST_FINALIZER_REGABI") != "1" {
    		cmd := testenv.CleanCmdEnv(exec.Command(os.Args[0], "-test.run=^TestFinalizerRegisterABI$", "-test.v"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top