Issue #1137 running flashplayer(debugger) executable in Linux/MacOs

This commit is contained in:
Jindra Petřík
2016-02-02 08:22:26 +01:00
parent 7dc482ab8c
commit 97993bb586

View File

@@ -225,9 +225,8 @@ public class Main {
@Override
protected Object doInBackground() throws Exception {
Process proc;
String runStr = "\"" + exePath + "\" \"" + ffile + "\"";
try {
proc = Runtime.getRuntime().exec(runStr);
proc = Runtime.getRuntime().exec(new String[]{exePath, ffile});
} catch (IOException ex) {
Logger.getLogger(MainFrameMenu.class.getName()).log(Level.SEVERE, null, ex);