mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-27 17:54:11 +00:00
feature(package) add support of cwd in TerminalRun with help of gritty v4.7.0
This commit is contained in:
parent
4914c22b5d
commit
fe9723fa15
2 changed files with 3 additions and 1 deletions
|
|
@ -100,12 +100,14 @@ function getEnv() {
|
|||
|
||||
function create(createOptions) {
|
||||
const {
|
||||
cwd = DOM.getCurrentDirPath(),
|
||||
command,
|
||||
autoClose,
|
||||
closeMessage = 'Press any key to close Terminal...',
|
||||
} = createOptions;
|
||||
|
||||
const options = {
|
||||
cwd,
|
||||
env: getEnv(),
|
||||
prefix: getPrefixSocket(),
|
||||
socketPath: CloudCmd.prefix,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue