client/assets/scripts/services/process.js
function (command, id) {
        id = id || '';
        if (id) {
          this.queue.push(id);
        }
        SocketService.emit('execute', {
          command: command,
          id: id
        });
      }
function (command, id) {
        id = id || '';
        if (id) {
          this.queue.push(id);
        }
        SocketService.emit('execute', {
          command: command,
          id: id
        });
      }
function ( command , id ) { id = id || '' ; if ( id ) { this . queue . push ( id ) ; } SocketService . emit ( 'execute' , { command : command , id : id } ) ; }
WebSocket to execute command
WebSocket to execute command