- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 87 for subprocess (0.18 sec)
-
src/cmd/go/internal/script/engine.go
// end-of-line comment. Additional variables named ':' and '/' are expanded // within script arguments (expanding to the value of os.PathListSeparator and // os.PathSeparator respectively) but are not inherited in subprocess // environments. // // Adding single quotes around text keeps spaces in that text from being treated // as word separators and also disables environment variable expansion.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 01:16:19 UTC 2023 - 22.2K bytes - Viewed (0) -
src/runtime/crash_test.go
cmd.Env = append(cmd.Env, "TEST_CRASH_WHILE_TRACING=1") stdOut, err := cmd.StdoutPipe() var errOut bytes.Buffer cmd.Stderr = &errOut if err := cmd.Start(); err != nil { t.Fatalf("could not start subprocess: %v", err) } r, err := traceparse.NewReader(stdOut) if err != nil { t.Fatalf("could not create trace.NewReader: %v", err) } var seen, seenSync bool i := 1 loop: for ; ; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
src/cmd/doc/pkg.go
} // pkg.Fatalf is like log.Fatalf, but panics so it can be recovered in the // main do function, so it doesn't cause an exit. Allows testing to work // without running a subprocess. The log prefix will be added when // logged in main; it is not added here. func (pkg *Package) Fatalf(format string, args ...any) { panic(PackageError(fmt.Sprintf(format, args...))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/JobProcess.java
import java.util.function.Consumer; import org.codelibs.fess.Constants; public class JobProcess { protected Process process; protected InputStreamThread inputStreamThread; public JobProcess(final Process process) { this(process, InputStreamThread.MAX_BUFFER_SIZE, null); } public JobProcess(final Process process, final int bufferSize, final Consumer<String> outputCallback) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.4K bytes - Viewed (0) -
src/os/exec/exec.go
// caused by a call to Cancel or Kill above. if err == nil && !killed { err = goroutineErr } default: // Close the child process's I/O pipes, in case it abandoned some // subprocess that inherited them and is still holding them open // (see https://go.dev/issue/23019). // // We close the goroutine pipes only after we have sent any signals we're
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 41.4K bytes - Viewed (0) -
src/net/http/serve_test.go
if body != "Hello world.\n" { panic("Got body: " + body) } } }) } // A benchmark for profiling the server without the HTTP client code. // The client code runs in a subprocess. // // For use like: // // $ go test -c // $ ./http.test -test.run='^$' -test.bench='^BenchmarkServer$' -test.benchtime=15s -test.cpuprofile=http.prof // $ go tool pprof http.test http.prof
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K 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/main/java/org/codelibs/fess/helper/ProcessHelper.java
pbCall.accept(pb); destroyProcess(sessionId); JobProcess jobProcess; try { jobProcess = new JobProcess(pb.start(), bufferSize, outputCallback); destroyProcess(sessionId, runningProcessMap.putIfAbsent(sessionId, jobProcess)); return jobProcess; } catch (final IOException e) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.4K bytes - Viewed (0)