mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 16:29:34 +00:00
split command into arguments is unnecessary
This commit is contained in:
parent
36bb3ece64
commit
71836a0f8e
@ -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: MspMoteType.java,v 1.20 2008/12/03 15:19:03 fros4943 Exp $
|
* $Id: MspMoteType.java,v 1.21 2009/02/16 12:37:18 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.mspmote;
|
package se.sics.cooja.mspmote;
|
||||||
@ -500,9 +500,7 @@ public abstract class MspMoteType implements MoteType {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
logger.info("Compilation command: " + command);
|
logger.info("Compilation command: " + command);
|
||||||
String[] cmd = command.split(" ");
|
compileProcess = Runtime.getRuntime().exec(command, null,
|
||||||
|
|
||||||
compileProcess = Runtime.getRuntime().exec(cmd, null,
|
|
||||||
parentDirectory);
|
parentDirectory);
|
||||||
|
|
||||||
final BufferedReader processNormal = new BufferedReader(
|
final BufferedReader processNormal = new BufferedReader(
|
||||||
|
Loading…
Reference in New Issue
Block a user