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
|
||||
* 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;
|
||||
|
@ -500,9 +500,7 @@ public abstract class MspMoteType implements MoteType {
|
|||
|
||||
try {
|
||||
logger.info("Compilation command: " + command);
|
||||
String[] cmd = command.split(" ");
|
||||
|
||||
compileProcess = Runtime.getRuntime().exec(cmd, null,
|
||||
compileProcess = Runtime.getRuntime().exec(command, null,
|
||||
parentDirectory);
|
||||
|
||||
final BufferedReader processNormal = new BufferedReader(
|
||||
|
|
Loading…
Reference in a new issue