Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setProcessDir (0.38 sec)

  1. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/processenvironment/ProcessEnvironmentTest.groovy

            when:
            env.setProcessDir(tmpDir.testDirectory)
    
            then:
            env.processDir.canonicalFile == tmpDir.testDirectory
            new File(".").canonicalFile == tmpDir.testDirectory
    
            cleanup:
            System.setProperty("user.dir", originalDir.absolutePath)
            env.setProcessDir(originalDir)
        }
    
        def "can get pid of current process"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/processenvironment/AbstractProcessEnvironment.java

        }
    
        @Override
        public void setProcessDir(File processDir) throws NativeIntegrationException {
            setNativeProcessDir(processDir);
            System.setProperty("user.dir", processDir.getAbsolutePath());
        }
    
        protected abstract void setNativeProcessDir(File processDir);
    
        @Override
        public boolean maybeSetProcessDir(File processDir) {
            setProcessDir(processDir);
            return true;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jna/UnsupportedEnvironment.java

        }
    
        @Override
        public File getProcessDir() throws NativeIntegrationException {
            throw notSupported();
        }
    
        @Override
        public void setProcessDir(File processDir) throws NativeIntegrationException {
            throw notSupported();
        }
    
        @Override
        public boolean maybeSetProcessDir(File processDir) {
            return false;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/ProcessEnvironment.java

        /**
         * Sets the process working directory.
         *
         * @param processDir The directory.
         * @throws NativeIntegrationException If process directory cannot be set.
         */
        void setProcessDir(File processDir) throws NativeIntegrationException;
    
        /**
         * Sets the process working directory, if possible
         *
         * @param processDir The directory.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top