Lines Matching defs:environment
60 * <li>an <i>environment</i>, which is a system-dependent mapping from
62 * the environment of the current process (see {@link System#getenv()}).
144 * and environment is easy:
151 * directory and environment, and redirects standard output and error
157 * Map<String, String> env = pb.environment();
171 * <p>To start a process with an explicit set of environment
173 * before adding environment variables.
183 private Map<String,String> environment;
273 * Returns a string map view of this process builder's environment.
275 * Whenever a process builder is created, the environment is
276 * initialized to a copy of the current process environment (see
279 * their environment.
290 * <p>If the system does not support environment variables, an
300 * system may not allow modifications to environment variables or
307 * <p>Since the external format of environment variable names and
310 * the map is implemented in such a way that environment variables
328 * are generally preferred over environment variables.
330 * @return this process builder's environment
335 * method doesn't allow access to the process environment
340 public Map<String,String> environment() {
345 if (environment == null)
346 environment = ProcessEnvironment.environment();
348 assert environment != null;
350 return environment;
354 ProcessBuilder environment(String[] envp) {
355 assert environment == null;
357 environment = ProcessEnvironment.emptyEnvironment(envp.length);
358 assert environment != null;
374 environment.put(envstring.substring(0,eqlsign),
934 * with a process environment as given by {@link #environment()}.
941 * <p>A minimal set of system dependent environment variables may
943 * As a result, the subprocess may inherit additional environment variable
944 * settings beyond those in the process builder's {@link #environment()}.
1023 environment,