Home
last modified time | relevance | path

Searched refs:ProcessBuilder (Results 1 – 10 of 10) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessBuilderTest.java36 new ProcessBuilder((List<String>) null); in testProcessBuilderListOfString()
43 ProcessBuilder pb = new ProcessBuilder("command"); in testCommand()
48 pb = new ProcessBuilder("AAA"); in testCommand()
58 ProcessBuilder pb = new ProcessBuilder("command"); in testCommandStringArray()
59 ProcessBuilder pbReturn = pb.command("cmd"); in testCommandStringArray()
66 ProcessBuilder pb = new ProcessBuilder("command"); in testCommandListOfString()
69 ProcessBuilder pbReturn = pb.command(newCmd); in testCommandListOfString()
81 ProcessBuilder pb = new ProcessBuilder("command"); in testDirectory()
86 ProcessBuilder pb = new ProcessBuilder("command"); in testDirectoryFile()
88 ProcessBuilder pbReturn = pb.directory(dir); in testDirectoryFile()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DProcessBuilderTest.java29 import java.lang.ProcessBuilder.Redirect;
30 import java.lang.ProcessBuilder.Redirect.Type;
44 import static java.lang.ProcessBuilder.Redirect.INHERIT;
45 import static java.lang.ProcessBuilder.Redirect.PIPE;
70 ProcessBuilder pb = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2"); in assertRedirectErrorStream()
85 Process process = new ProcessBuilder(shell()) in testRedirectErrorStream_outputAndErrorAreMerged()
105 Process process = new ProcessBuilder() in testRedirectInherit()
138 ProcessBuilder pb = new ProcessBuilder(shell(), "-c", "cat").redirectInput(file); in testRedirectFile_input()
147 ProcessBuilder pb = new ProcessBuilder(shell(), "-c", "cat").redirectOutput(file); in testRedirectFile_output()
161 ProcessBuilder pb = new ProcessBuilder("ls", missingFilePath).redirectError(file); in testRedirectFile_error()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DProcessBuilder.java178 public final class ProcessBuilder class
198 public ProcessBuilder(List<String> command) { in ProcessBuilder() method in ProcessBuilder
215 public ProcessBuilder(String... command) { in ProcessBuilder() method in ProcessBuilder
234 public ProcessBuilder command(List<String> command) { in command()
252 public ProcessBuilder command(String... command) { in command()
353 ProcessBuilder environment(String[] envp) { in environment()
409 public ProcessBuilder directory(File directory) { in directory()
700 public ProcessBuilder redirectInput(Redirect source) {
731 public ProcessBuilder redirectOutput(Redirect destination) {
765 public ProcessBuilder redirectError(Redirect destination) {
[all …]
DUNIXProcess.java159 ProcessBuilder.NullOutputStream.INSTANCE :
163 ProcessBuilder.NullInputStream.INSTANCE :
167 ProcessBuilder.NullInputStream.INSTANCE :
296 ProcessBuilder.NullInputStream.INSTANCE :
327 this.out = ProcessBuilder.NullOutputStream.INSTANCE;
DProcessImpl.java31 import java.lang.ProcessBuilder.Redirect;
32 import java.lang.ProcessBuilder.Redirect;
64 ProcessBuilder.Redirect[] redirects, in start()
DRuntime.java691 return new ProcessBuilder(cmdarray) in exec()
/libcore/support/src/test/java/tests/support/
DSupport_Exec.java46 public static ProcessBuilder javaProcessBuilder() in javaProcessBuilder()
48 ProcessBuilder builder = new ProcessBuilder(); in javaProcessBuilder()
83 public static String execAndGetOutput(ProcessBuilder builder) throws IOException { in execAndGetOutput()
/libcore/luni/src/test/java/libcore/java/io/
DOldFileTest.java170 ProcessBuilder builder = javaProcessBuilder(); in test_deleteOnExit()
/libcore/api/
Dcurrent.txt3470 public final class ProcessBuilder {
3471 ctor public ProcessBuilder(java.util.List<java.lang.String>);
3472 ctor public ProcessBuilder(java.lang.String...);
3473 method public ProcessBuilder command(java.util.List<java.lang.String>);
3474 method public ProcessBuilder command(java.lang.String...);
3477 method public ProcessBuilder directory(java.io.File);
3479 method public ProcessBuilder inheritIO();
3480 method public ProcessBuilder redirectError(java.lang.ProcessBuilder.Redirect);
3481 method public ProcessBuilder redirectError(java.io.File);
3482 method public java.lang.ProcessBuilder.Redirect redirectError();
[all …]
/libcore/
Dopenjdk_java_files.bp175 "ojluni/src/main/java/java/lang/ProcessBuilder.java",