log was actually doing nothing...fixing it

This commit is contained in:
Anis Kadri 2012-06-27 17:55:35 -07:00
parent e639b6303e
commit 98138a0a60
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@ function exec(command) {
if(!oExec.StdOut.AtEndOfStream) {
var line = oExec.StdOut.ReadLine();
// XXX: Change to verbose mode
//WScript.StdOut.WriteLine(line);
// WScript.StdOut.WriteLine(line);
output += line;
}
WScript.sleep(100);
@ -79,7 +79,7 @@ function debug_install() {
}
function log() {
WScript.Echo(exec("%comspec% /c adb.bat logcat"));
shell.Run("%comspec% /c adb logcat");
}
function launch() {

View File

@ -0,0 +1 @@
%~dp0\cordova.bat log