Lines Matching refs:environment

66  * <li>an <i>environment</i>, which is a system-dependent mapping from
68 * the environment of the current process (see {@link System#getenv()}).
150 * and environment is easy:
157 * directory and environment, and redirects standard output and error
163 * Map<String, String> env = pb.environment();
177 * <p>To start a process with an explicit set of environment
179 * before adding environment variables.
194 private Map<String,String> environment;
281 * Returns a string map view of this process builder's environment.
283 * Whenever a process builder is created, the environment is
284 * initialized to a copy of the current process environment (see
287 * their environment.
298 * <p>If the system does not support environment variables, an
308 * system may not allow modifications to environment variables or
315 * <p>Since the external format of environment variable names and
318 * the map is implemented in such a way that environment variables
336 * are generally preferred over environment variables.
338 * @return this process builder's environment
343 * method doesn't allow access to the process environment
348 public Map<String,String> environment() {
353 if (environment == null)
354 environment = ProcessEnvironment.environment();
356 assert environment != null;
358 return environment;
362 ProcessBuilder environment(String[] envp) {
363 assert environment == null;
365 environment = ProcessEnvironment.emptyEnvironment(envp.length);
366 assert environment != null;
382 environment.put(envstring.substring(0,eqlsign),
995 * with a process environment as given by {@link #environment()}.
1002 * <p>A minimal set of system dependent environment variables may
1004 * As a result, the subprocess may inherit additional environment variable
1005 * settings beyond those in the process builder's {@link #environment()}.
1108 environment,
1163 * with a process environment as given by {@link #environment()}.
1170 * A minimal set of system dependent environment variables may
1172 * As a result, the subprocess may inherit additional environment variable
1173 * settings beyond those in the process builder's {@link #environment()}.