mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Added --wait and added to the terminal
This commit is contained in:
parent
290a9bf71d
commit
69888da842
@ -98,9 +98,9 @@ module.exports = function (vfs, options, register) {
|
||||
|
||||
createListenServer(api);
|
||||
|
||||
stream.on("data", function(data){
|
||||
stream.write = function(data){
|
||||
if (client) client.write(data);
|
||||
});
|
||||
};
|
||||
},
|
||||
|
||||
disconnect: function(){
|
||||
|
||||
@ -157,6 +157,9 @@ module.exports = function(c9, proc, installPath, shell) {
|
||||
options.output = false;
|
||||
options.terminal = true;
|
||||
options.detachOthers = !session.hasConnected;
|
||||
options.env = {
|
||||
"EDITOR": "`which c9` open --wait"
|
||||
};
|
||||
}
|
||||
|
||||
// Connect to backend and start tmux session
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user