From 2d912eeb64e560b030b4bbfb25521127df06b738 Mon Sep 17 00:00:00 2001 From: WolCarlos <66867852+WolCarlos@users.noreply.github.com> Date: Thu, 31 Jul 2025 22:19:55 +0200 Subject: [PATCH] Update claude-cli.js add "``" --- server/claude-cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/claude-cli.js b/server/claude-cli.js index 33f5d3c..f833550 100755 --- a/server/claude-cli.js +++ b/server/claude-cli.js @@ -23,7 +23,7 @@ async function spawnClaude(command, options = {}, ws) { // Add print flag with command if we have a command if (command && command.trim()) { - args.push('--print', "${command.replace(/"/g, '\\"')}"); + args.push('--print', `"${command.replace(/"/g, '\\"')}"`); } // Use cwd (actual project directory) instead of projectPath (Claude's metadata directory)