add CLAUDE_PATH env variable
This commit is contained in:
@@ -19,10 +19,11 @@ export async function executeCodeCommand(args: string[] = []) {
|
||||
incrementReferenceCount();
|
||||
|
||||
// Execute claude command
|
||||
const claudeProcess = spawn("claude", args, {
|
||||
const claudePath = process.env.CLAUDE_PATH || "claude";
|
||||
const claudeProcess = spawn(claudePath, args, {
|
||||
env,
|
||||
stdio: "inherit",
|
||||
shell: true,
|
||||
shell: true
|
||||
});
|
||||
|
||||
claudeProcess.on("error", (error) => {
|
||||
|
||||
Reference in New Issue
Block a user