MCPcopy Index your code
hub / github.com/processing/processing / exec

Method exec

core/src/processing/core/PApplet.java:3566–3572  ·  view source on GitHub ↗

Pass a set of arguments directly to the command line. Uses Java's Runtime.exec() method. This is different from the launch() method, whi

(String... args)

Source from the content-addressed store, hash-verified

3564 * @return a <A HREF="https://docs.oracle.com/javase/8/docs/api/java/lang/Process.html">Process</A> object
3565 */
3566 static public Process exec(String... args) {
3567 try {
3568 return Runtime.getRuntime().exec(args);
3569 } catch (Exception e) {
3570 throw new RuntimeException("Exception while attempting " + join(args, ' '), e);
3571 }
3572 }
3573
3574
3575 static class LineThread extends Thread {

Callers 15

handleSettingsMethod · 0.95
launchMethod · 0.95
shellMethod · 0.95
runMethod · 0.95
getHomeDirMethod · 0.95
runMethod · 0.95
copyDirNativeMethod · 0.80
runMethod · 0.80
executeMethod · 0.80
openURLMethod · 0.80
openFolderAvailableMethod · 0.80
openFolderMethod · 0.80

Calls 2

joinMethod · 0.95
waitForMethod · 0.80

Tested by

no test coverage detected