Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for maybeSetProcessDir (0.26 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/EstablishBuildEnvironment.java

                    + System.getProperty("line.separator") + "  "
                    + "relies on environment variables, you may experience unexpected behavior.");
            }
            processEnvironment.maybeSetProcessDir(build.getParameters().getCurrentDir());
    
            // Capture and restore this in case the build code calls Locale.setDefault()
            Locale locale = Locale.getDefault();
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/processenvironment/AbstractProcessEnvironment.java

            System.setProperty("user.dir", processDir.getAbsolutePath());
        }
    
        protected abstract void setNativeProcessDir(File processDir);
    
        @Override
        public boolean maybeSetProcessDir(File processDir) {
            setProcessDir(processDir);
            return true;
        }
    
        @Override
        public Long maybeGetPid() {
            return getPid();
        }
    
        @Override
    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

            throw notSupported();
        }
    
        @Override
        public void setProcessDir(File processDir) throws NativeIntegrationException {
            throw notSupported();
        }
    
        @Override
        public boolean maybeSetProcessDir(File processDir) {
            return false;
        }
    
        @Override
        public Long getPid() throws NativeIntegrationException {
            if (pid != null) {
                return pid;
            }
    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, if possible
         *
         * @param processDir The directory.
         * @return true if the directory can be set, false if not possible.
         */
        boolean maybeSetProcessDir(File processDir);
    
        /**
         * Returns the OS level PID for the current process.
         *
         * @throws NativeIntegrationException If the pid is not available.
         */
    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