From 88b4e22aad2f083868e1cdc67518d90c4303d5d7 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Fri, 18 Sep 2009 16:45:26 +0000 Subject: [PATCH] fixed executable path --- .../java/se/sics/cooja/plugins/NativeIPGateway.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cooja/apps/native_gateway/java/se/sics/cooja/plugins/NativeIPGateway.java b/tools/cooja/apps/native_gateway/java/se/sics/cooja/plugins/NativeIPGateway.java index cdf59504c..5311d4239 100644 --- a/tools/cooja/apps/native_gateway/java/se/sics/cooja/plugins/NativeIPGateway.java +++ b/tools/cooja/apps/native_gateway/java/se/sics/cooja/plugins/NativeIPGateway.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: NativeIPGateway.java,v 1.7 2009/09/18 16:38:15 fros4943 Exp $ + * $Id: NativeIPGateway.java,v 1.8 2009/09/18 16:45:26 fros4943 Exp $ */ package se.sics.cooja.plugins; @@ -599,7 +599,7 @@ public class NativeIPGateway implements Plugin { } logger.info("> " + tunContikiApp.getName()); - tunProcess = Runtime.getRuntime().exec(new String[] { tunContikiApp.getName() }, null, tunContikiAppDir); + tunProcess = Runtime.getRuntime().exec(new String[] { "./" + tunContikiApp.getName() }, null, tunContikiAppDir); /* Shutdown hook: kill minimal-net process */ shutdownHook = new Thread(new Runnable() {