From beedf4d2b3b0acc8bb422f412ccdfcced97b4a71 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Thu, 5 Apr 2018 10:43:14 -0400 Subject: [PATCH] fix inaccurate error message for exec() --- core/src/processing/core/PApplet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index f6300f9bf..6607c1b10 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -3492,7 +3492,7 @@ public class PApplet implements PConstants { try { return Runtime.getRuntime().exec(args); } catch (Exception e) { - throw new RuntimeException("Could not open " + join(args, ' '), e); + throw new RuntimeException("Exception while attempting " + join(args, ' '), e); } }