worktree-launcher 1.0.1 → 1.0.2
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.
- package/dist/index.js +2 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -175,13 +175,11 @@ import path3 from "path";
|
|
|
175
175
|
import { constants } from "fs";
|
|
176
176
|
function launchAITool(options) {
|
|
177
177
|
const { cwd, tool } = options;
|
|
178
|
-
|
|
178
|
+
spawn(tool, [], {
|
|
179
179
|
cwd,
|
|
180
180
|
stdio: "inherit",
|
|
181
|
-
|
|
182
|
-
detached: true
|
|
181
|
+
shell: true
|
|
183
182
|
});
|
|
184
|
-
child.unref();
|
|
185
183
|
}
|
|
186
184
|
async function isToolAvailable(tool) {
|
|
187
185
|
return new Promise((resolve) => {
|