minor changes

This commit is contained in:
coderaiser 2012-12-10 05:30:12 -05:00
parent f21d4a0657
commit 2db3101139
2 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,7 @@
this.Config.ip;
if(!this.IP)
this.IP = main.Win32 ? '127.0.0.1' : '0.0.0.0';
this.IP = main.WIN32 ? '127.0.0.1' : '0.0.0.0';
/* server mode or testing mode */
if (lConfig.server) {

View file

@ -61,7 +61,7 @@
if( Util.strCmp(pCommand, 'exit') )
if(main.WIN32)
pCommand = 'taskkill /PID ' + process.pid;
pCommand = 'taskkill -f /PID ' + process.pid;
else
pCommand = 'kill -9 ' + process.pid;
}