mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
fix(socket) exit on cloudcmd command
This commit is contained in:
parent
071ad9efee
commit
446ce53704
1 changed files with 4 additions and 3 deletions
|
|
@ -132,8 +132,10 @@
|
|||
if( Util.isContainStrAtBegin(pCommand, ' ') ) {
|
||||
pCommand = Util.removeStr(pCommand, ' ');
|
||||
|
||||
if( Util.isContainStrAtBegin(pCommand, 'update') && update )
|
||||
if( Util.isContainStrAtBegin(pCommand, 'update') && update ) {
|
||||
update.get();
|
||||
lRet = true;
|
||||
}
|
||||
|
||||
if( Util.strCmp(pCommand, 'exit') )
|
||||
if(WIN32)
|
||||
|
|
@ -148,8 +150,7 @@
|
|||
stderr : null
|
||||
});
|
||||
|
||||
Util.log('received from client: ' + pCommand);
|
||||
Util.log('sended to client: ' + lMsg);
|
||||
lRet = true;
|
||||
}
|
||||
} else if( Util.isContainStrAtBegin(pCommand, 'cd ') ) {
|
||||
lDir = Util.removeStr(pCommand, 'cd ');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue