feature(cloudcmd) --terminal-command: command to run in terminal (shell by default)

This commit is contained in:
coderaiser 2018-09-27 13:50:17 +03:00
parent 8660c06097
commit 7d552b4089
7 changed files with 17 additions and 0 deletions

View file

@ -149,6 +149,7 @@ function listen(prefix, socket) {
config('terminal') && terminal().listen(socket, {
auth,
prefix: prefix + '/gritty',
command: config('terminalCommand'),
});
distribute.export(socket);