mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
added windows support on terminal command: "cloudcmd exit"
This commit is contained in:
parent
707914bcff
commit
74cf4d5cdf
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue