Searched refs:exec (Results 1 - 25 of 108) sorted by relevance

12345

/openjdk7/jdk/test/java/lang/Runtime/exec/
H A DExecEmptyString.java33 Runtime.getRuntime().exec("");
38 Runtime.getRuntime().exec(new String());
H A DBadEnvp.java38 r.exec("echo", envpWithNull);
43 r.exec("echo", envpWithNull, dir);
48 r.exec(new String[]{"echo"}, envpWithNull);
53 r.exec(new String[]{"echo"}, envpWithNull, dir);
H A DLotsOfDestroys.java43 Process process = Runtime.getRuntime().exec(ECHO + " x");
H A DSpace.java26 @summary test runtime.exec on windows for extra space in cmd
34 Process p = Runtime.getRuntime().exec( "cmd /c echo hello" );
H A DLotsOfOutput.java40 Process p = Runtime.getRuntime().exec(CAT + " /dev/zero");
H A DStatus.java41 Process p = Runtime.getRuntime().exec("false");
H A DSetCwd.java28 * Runtime.exec(String[] command, String[] env, File path) and
29 * Runtime.exec(String command, String[] env, File path).
47 // exec a new SetCwd in the sub directory
50 p = Runtime.getRuntime().exec(cmd, null, f);
52 p = Runtime.getRuntime().exec(cmdarray, null, f);
60 throw new Exception("inconsistent directory after exec");
H A DExecCommand.java29 * @summary workaround for legacy applications with Runtime.getRuntime().exec(String command)
75 // Parameters for the Runtime.exec calls
196 Process exec = Runtime.getRuntime().exec(TEST_RTE_ARG[i]);
197 exec.waitFor();
H A DSleepyCat.java26 @summary Various race conditions caused exec'ed processes to have
86 cats[i] = rt.exec(catArgs);
88 Process sleep = rt.exec(sleepArgs);
130 "exec sleep " + (timeout+1) + " >/dev/null"};
135 backgroundSleepers[i] = rt.exec(args); // race condition here
/openjdk7/jdk/test/java/lang/ProcessBuilder/
H A DZombies.java48 rt.exec("no-such-file");
53 rt.exec(".");
58 rt.exec(TrueCommand, null, new File("no-such-dir"));
62 rt.exec(TrueCommand).waitFor();
70 int zombies = rt.exec(zombieCounter).waitFor();
H A DFeelingLucky.java37 final Process minedProcess = rt.exec(pidPrinter);
71 Process p = rt.exec(magnum);
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DRecursiveAction.java176 protected final boolean exec() { method in class:RecursiveAction
H A DRecursiveTask.java92 protected final boolean exec() { method in class:RecursiveTask
/openjdk7/jdk/src/share/classes/java/lang/
H A DRuntime.java321 * <tt>exec(command)</tt>
323 * <tt>{@link #exec(String, String[], File) exec}(command, null, null)</tt>.
343 * @see #exec(String[], String[], File)
346 public Process exec(String command) throws IOException { method in class:Runtime
347 return exec(command, null, null);
355 * <tt>exec(command, envp)</tt>
357 * <tt>{@link #exec(String, String[], File) exec}(command, envp, null)</tt>.
384 * @see #exec(Strin
387 public Process exec(String command, String[] envp) throws IOException { method in class:Runtime
441 public Process exec(String command, String[] envp, File dir) method in class:Runtime
484 public Process exec(String cmdarray[]) throws IOException { method in class:Runtime
527 public Process exec(String[] cmdarray, String[] envp) throws IOException { method in class:Runtime
615 public Process exec(String[] cmdarray, String[] envp, File dir) method in class:Runtime
[all...]
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest10.java50 ExecutorService exec = Executors.newCachedThreadPool();
51 server.setExecutor (exec);
60 if (exec != null)
61 exec.shutdown();
H A DTest3.java57 ExecutorService exec = Executors.newCachedThreadPool();
58 server.setExecutor (exec);
67 if (exec != null)
68 exec.shutdown();
H A DTest4.java55 ExecutorService exec = Executors.newCachedThreadPool();
56 server.setExecutor (exec);
65 if (exec != null)
66 exec.shutdown();
H A DTest5.java56 ExecutorService exec = Executors.newCachedThreadPool();
57 server.setExecutor (exec);
66 if (exec != null)
67 exec.shutdown();
/openjdk7/jdk/test/java/net/DatagramSocket/
H A DInheritHandle.java41 Runtime.getRuntime().exec ("sleep 10");
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6401598.java78 static ExecutorService exec; field in class:B6401598
85 exec = Executors.newFixedThreadPool(3);
86 server.setExecutor(exec);
116 exec.shutdown();
121 exec.shutdown();
/openjdk7/jdk/test/javax/management/remote/mandatory/connection/
H A DRMIConnector_NPETest.java51 Runtime.getRuntime().exec(rmidCmd);
66 Runtime.getRuntime().exec(stopRmidCmd);
/openjdk7/langtools/test/tools/javac/api/6733837/
H A DT6733837.java47 new T6733837().exec();
50 public void exec() { method in class:T6733837
/openjdk7/jdk/test/sun/rmi/rmic/RMIGenerator/
H A DRmicDefault.java57 Process javacProcess = Runtime.getRuntime().exec(
68 Process rmicProcess = Runtime.getRuntime().exec(
/openjdk7/langtools/test/tools/javac/api/6406133/
H A DT6406133.java74 String res1 = exec(useListener, loc1);
75 String res2 = exec(useListener, loc2);
82 String exec(boolean useListener, Locale locale) { method in class:T6406133
/openjdk7/jdk/test/java/awt/xembed/server/
H A DTestXEmbedServerJava.java80 return Runtime.getRuntime().exec(java_home + "/bin/java JavaClient " + window);

Completed in 162 milliseconds

12345