Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,124 for reprocess (0.08 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/bootstrap/DaemonOutputConsumerTest.groovy

        def consumer = new DaemonOutputConsumer()
    
        def "consumes process output until EOF"() {
            def process = process('hey Joe!')
    
            when:
            consumer.connectStreams(process, "cool process", executor)
            consumer.start()
            consumer.stop()
            then:
            consumer.processOutput.trim() == 'hey Joe!'
        }
    
        def "consumes process greeting noticed in output"() {
            def output = """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

        }
    
        String getPermissions() {
            if (isWindows()) {
                return "-rwxr-xr-x"
            }
    
            def process = ["ls", "-ld", file.absolutePath].execute()
            def result = process.inputStream.text
            def error = process.errorStream.text
            def retval = process.waitFor()
            if (retval != 0) {
                throw new RuntimeException("Could not list permissions for '$file': $error")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/process/internal/worker/request/RequestProtocol.java

     */
    
    package org.gradle.process.internal.worker.request;
    
    /**
     * Protocol for controlling a worker process.
     * <p>
     * This protocol is used by the daemon to control the current work the worker process is doing.
     */
    public interface RequestProtocol {
        /**
         * Runs the given request in the worker process.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 04 09:27:37 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/process/internal/ExecHandleRunner.java

                Process process = processLauncher.start(processBuilder);
                streamsHandler.connectStreams(process, execHandle.getDisplayName(), executor);
                this.process = process;
            } finally {
                lock.unlock();
            }
        }
    
        private void completed(int exitValue) {
            if (aborted) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. src/os/signal/signal_cgo_test.go

    	// must have a parent process group in the same session or mask SIGTTOU
    	// (which we do). An orphaned process group cannot receive
    	// terminal-generated SIGTSTP at all.
    	//
    	// Achieving this requires three processes total:
    	// - Top-level process: this is the main test process and creates the
    	// pseudo-terminal.
    	// - GO_TEST_TERMINAL_SIGNALS=1: This process creates a new process
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/worker/WorkerProcessFactory.java

     * limitations under the License.
     */
    
    package org.gradle.process.internal.worker;
    
    import org.gradle.api.Action;
    
    public interface WorkerProcessFactory {
        /**
         * Creates a builder for workers that will run the given action. The worker action is serialized to the worker process and executed.
         *
         * <p>The worker process is not started until {@link WorkerProcess#start()} is called.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 15 22:51:06 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/OtoolBinaryInfo.groovy

            }
        }
    
        List<String> listObjectFiles() {
            def process = ['ar', '-t', binaryFile.getAbsolutePath()].execute(environments, null)
            return process.inputStream.readLines().drop(1)
        }
    
        List<String> listLinkedLibraries() {
            def process = ['otool', '-L', binaryFile.absolutePath].execute(environments, null)
            def lines = process.inputStream.readLines()
            return lines
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/process/JavaDebugOptions.java

         * Setting host to {@code *} will make the process listen on all network interfaces. This is not supported on Java 8 and below.
         * Setting host to anything else will make the process listen on that address.
         * </p>
         * <p>
         * When run in {@link #getServer() client} mode, the process attempts to connect to the given host and {@link #getPort()}.
         * </p>
         *
         * @since 7.6
         */
        @Incubating
        @Optional
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 16 14:16:38 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/process-services/src/main/java/org/gradle/process/BaseExecSpec.java

        /**
         * Sets the standard input stream for the process executing the command. The stream is closed after the process
         * completes.
         *
         * @param inputStream The standard input stream for the process. Must not be null.
         * @return this
         */
        BaseExecSpec setStandardInput(InputStream inputStream);
    
        /**
         * Returns the standard input stream for the process executing the command. The stream is closed after the process
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. src/os/exec_plan9.go

    // on all systems are Interrupt (send the process an interrupt) and
    // Kill (force the process to exit). Interrupt is not implemented on
    // Windows; using it with [os.Process.Signal] will return an error.
    var (
    	Interrupt Signal = syscall.Note("interrupt")
    	Kill      Signal = syscall.Note("kill")
    )
    
    func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) {
    	sysattr := &syscall.ProcAttr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top