Search Results
OK to copy?
Examples 1 through 10 of
15 (0.027000000000000003 seconds)
Class:
org.apache.catalina.ssi.SSIExec
©,
Rating:
0% of 0,
C2
Class: org.apache.tools.ant.taskdefs.ProcessDestroyerTest ©, Rating: 0% of 0, C1
Class: org.apache.axis.components.compiler.Jikes ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.taskdefs.ImportTest ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.taskdefs.ExecuteWatchdogTest ©, Rating: 100% of 1, C1
Class: org.apache.catalina.util.ProcessHelper ©, Rating: 0% of 0, C3
Class: org.apache.tools.ant.taskdefs.Exec ©, Rating: 0% of 0, C3
Class: org.apache.tools.ant.DirectoryScannerTest ©, Rating: 0% of 0, C3
Class: org.apache.catalina.servlets.CGIServlet ©, Rating: 0% of 0, C2
Class: org.apache.catalina.servlets.CGIServlet ©, Rating: 0% of 0, C2
48 String paramName = paramNames[0];
49 String paramValue = paramValues[0];
50
51 if ( paramName.equalsIgnoreCase("cgi") ) {
52 ssiInclude.process( ssiMediator, new String[] {"virtual"}, new String[] {paramValue}, writer );
Class: org.apache.tools.ant.taskdefs.ProcessDestroyerTest ©, Rating: 0% of 0, C1
47 try {
48 ProcessDestroyer processDestroyer = new ProcessDestroyer();
49 Process process =
50 Runtime.getRuntime().exec(
51 "java -cp "
Class: org.apache.axis.components.compiler.Jikes ©, Rating: 0% of 0, C1
174
175 try {
176 Process p = Runtime.getRuntime().exec(toStringArray(fillArguments(args)));
177
178 BufferedInputStream compilerErr = new BufferedInputStream(p.getErrorStream());
Class: org.apache.tools.ant.taskdefs.ImportTest ©, Rating: 0% of 0, C2
124 }
125 String symlink = "src/etc/testcases/taskdefs/import/symlinks/d3b";
126 if (Runtime.getRuntime().exec(new String[] {ln, "-s", "d3a", symlink}).waitFor() != 0) {
127 throw new IOException("'" + ln + " -s d3a " + symlink + "' failed");
128 }
Class: org.apache.tools.ant.taskdefs.ExecuteWatchdogTest ©, Rating: 100% of 1, C1
075 };
076 //System.out.println("Testing with classpath: " + System.getProperty("java.class.path"));
077 return Runtime.getRuntime().exec(cmdArray);
078 }
079
Class: org.apache.catalina.util.ProcessHelper ©, Rating: 0% of 0, C3
300
301 rt = Runtime.getRuntime();
302 proc = rt.exec(cmdAndArgs.toString(), hashToStringArray(env), wd);
303
304 /*
Class: org.apache.tools.ant.taskdefs.Exec ©, Rating: 0% of 0, C3
110
111 // exec command on system runtime
112 Process proc = Runtime.getRuntime().exec(command);
113
114 if (out != null) {
Class: org.apache.tools.ant.DirectoryScannerTest ©, Rating: 0% of 0, C3
235 };
236 try {
237 Runtime.getRuntime().exec(command);
238 // give ourselves some time for the system call
239 // to execute... tweak if you have a really over
Class: org.apache.catalina.servlets.CGIServlet ©, Rating: 0% of 0, C2
0678 } else {
0679 // our last hope, we assume Unix (thanks to H. Ware for the fix)
0680 p = r.exec( "env" );
0681 ignoreCase = false;
0682 }
Class: org.apache.catalina.servlets.CGIServlet ©, Rating: 0% of 0, C2
0674 || (OS.indexOf("windows xp") > -1) ) {
0675 // thanks to JuanFran for the xp fix!
0676 p = r.exec( "cmd.exe /c set" );
0677 ignoreCase = true;
0678 } else {