filemanager: open terminal in cwd

This commit is contained in:
Girish Ramakrishnan
2026-02-12 20:26:14 +01:00
parent c5cf8eef1a
commit ae09c19b69
4 changed files with 11 additions and 3 deletions

View File

@@ -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);
}