utiller 1.0.389 → 1.0.392
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -74,7 +74,8 @@ var NodeUtiller = /*#__PURE__*/function (_Utiller) {
|
|
|
74
74
|
return _context.abrupt("return", new Promise(function (resolve, reject) {
|
|
75
75
|
// 核心改動:將執行路徑作為 options 物件的 cwd 屬性傳遞
|
|
76
76
|
_child_process["default"].exec(command, {
|
|
77
|
-
cwd: executionPath
|
|
77
|
+
cwd: executionPath,
|
|
78
|
+
shell: "/bin/bash"
|
|
78
79
|
},
|
|
79
80
|
// ⬅️ 新增的 options 物件,指定 cwd
|
|
80
81
|
function (error, stdout, stderr) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "utiller",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.392",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"updateConfigerer": "npm update configerer --save"
|
|
11
11
|
},
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": "
|
|
13
|
+
"node": "20"
|
|
14
14
|
},
|
|
15
15
|
"author": "davidtu<freshingmoon0725@gmail.com>",
|
|
16
16
|
"license": "ISC",
|