fixed executable path
This commit is contained in:
parent
0beda36034
commit
88b4e22aad
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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;
|
package se.sics.cooja.plugins;
|
||||||
|
@ -599,7 +599,7 @@ public class NativeIPGateway implements Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info("> " + tunContikiApp.getName());
|
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 */
|
/* Shutdown hook: kill minimal-net process */
|
||||||
shutdownHook = new Thread(new Runnable() {
|
shutdownHook = new Thread(new Runnable() {
|
||||||
|
|
Loading…
Reference in a new issue