Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,691 for procMs (0.14 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/main/java/org/gradle/process/internal/streams/ForwardStdinStreamsHandler.java

            this.input = input;
        }
    
        @Override
        public void connectStreams(Process process, String processName, Executor executor) {
            this.executor = executor;
    
            /*
                There's a potential problem here in that DisconnectableInputStream reads from input in the background.
                This won't automatically stop when the process is over. Therefore, if input is not closed then this thread
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 16:06:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. src/os/exec_unix.go

    )
    
    const (
    	// Special values for Process.Pid.
    	pidUnset    = 0
    	pidReleased = -1
    )
    
    func (p *Process) wait() (ps *ProcessState, err error) {
    	// Which type of Process do we have?
    	switch p.mode {
    	case modeHandle:
    		// pidfd
    		return p.pidfdWait()
    	case modePID:
    		// Regular PID
    		return p.pidWait()
    	default:
    		panic("unreachable")
    	}
    }
    
    func (p *Process) pidWait() (*ProcessState, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

    import org.gradle.internal.os.OperatingSystem
    import org.gradle.process.internal.streams.SafeStreams
    import org.gradle.test.fixtures.ConcurrentTestUtil
    
    
    class ProcessFixture {
        final Long pid;
    
        ProcessFixture(Long pid) {
            this.pid = pid
        }
    
        /**
         * Forcefully kills this daemon.
         */
        void kill(boolean killTree) {
            println "Killing process with pid: $pid"
            if (pid == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/os/exec.go

    // On most operating systems, the Process must be a child
    // of the current process or an error will be returned.
    func (p *Process) Wait() (*ProcessState, error) {
    	return p.wait()
    }
    
    // Signal sends a signal to the [Process].
    // Sending [Interrupt] on Windows is not implemented.
    func (p *Process) Signal(sig Signal) error {
    	return p.signal(sig)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitHttpRepository.java

                    byte[] bytes = requestContent.toByteArray();
                    process.getOutputStream().write(bytes);
                    process.getOutputStream().flush();
    
                    IOUtils.copy(process.getInputStream(), httpExchange.getResponseBody());
                    int result = process.waitFor();
                    if (result != 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. src/syscall/exec_unix_test.go

    	if cpid2 == ppid {
    		t.Fatalf("Parent and child 2 have the same process ID")
    	}
    
    	if cpgrp2 == ppgrp {
    		t.Fatalf("Parent and child 2 are in the same process group")
    	}
    
    	if cpid2 == cpgrp2 {
    		t.Fatalf("Child 2's process group is its process ID")
    	}
    
    	if cpid1 == cpid2 {
    		t.Fatalf("Child 1 and 2 have the same process ID")
    	}
    
    	if cpgrp1 != cpgrp2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/JobProcess.java

    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) {
            this.process = process;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/process/internal/streams/OutputStreamsForwarder.java

        @Override
        public void connectStreams(Process process, String processName, Executor executor) {
            this.executor = executor;
            standardOutputReader = new ExecOutputHandleRunner("read standard output of " + processName, process.getInputStream(), standardOutput, completed);
            if (readErrorStream) {
                standardErrorReader = new ExecOutputHandleRunner("read error output of " + processName, process.getErrorStream(), errorOutput, completed);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 16:06:58 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top