feature(package) add support of cwd in TerminalRun with help of gritty v4.7.0

This commit is contained in:
coderaiser 2019-05-31 12:47:25 +03:00
parent 4914c22b5d
commit fe9723fa15
2 changed files with 3 additions and 1 deletions

View file

@ -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,