added windows support on terminal command: "cloudcmd exit"

This commit is contained in:
coderaiser 2012-12-10 05:19:26 -05:00
parent 707914bcff
commit 74cf4d5cdf
2 changed files with 5 additions and 1 deletions

View file

@ -172,6 +172,7 @@ config.json to env.
* Fixed bug with opening empty files in CodeMiror.
Editor window could not be cloused.
* Added windows support on terminal command: "cloudcmd exit".
2012.10.01, Version 0.1.7

View file

@ -60,7 +60,10 @@
update.get();
if( Util.strCmp(pCommand, 'exit') )
pCommand = 'kill -9 ' + process.pid;
if(main.WIN32)
pCommand = 'taskkill /PID ' + process.pid;
else
pCommand = 'kill -9 ' + process.pid;
}
else {
var lMsg = {