filemanager: open terminal in cwd
This commit is contained in:
@@ -2725,6 +2725,8 @@ async function createExec(app, options) {
|
||||
// currently the webterminal and cli sets C.UTF-8
|
||||
if (options.lang) createOptions.Env = [ 'LANG=' + options.lang ];
|
||||
|
||||
if (options.cwd) createOptions.WorkingDir = options.cwd;
|
||||
|
||||
return await docker.createExec(app.containerId, createOptions);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user