1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-29 18:52:13 +01:00

Fixed typo

This commit is contained in:
Cristian Maglie 2013-08-05 15:06:20 +02:00
parent f65e736a12
commit 350ed87af3

View File

@ -105,9 +105,9 @@ public class Platform extends processing.app.Platform {
public void openFolder(File file) throws Exception {
if (openFolderAvailable()) {
String lunch = Preferences.get("launcher");
String launcher = Preferences.get("launcher");
try {
String[] params = new String[] { lunch, file.getAbsolutePath() };
String[] params = new String[] { launcher, file.getAbsolutePath() };
//processing.core.PApplet.println(params);
/*Process p =*/ Runtime.getRuntime().exec(params);
/*int result =*/ //p.waitFor();