mirror of
https://github.com/siteboon/claudecodeui.git
synced 2025-12-11 17:29:37 +00:00
Update claude-cli.js
add "``"
This commit is contained in:
@@ -23,7 +23,7 @@ async function spawnClaude(command, options = {}, ws) {
|
|||||||
|
|
||||||
// Add print flag with command if we have a command
|
// Add print flag with command if we have a command
|
||||||
if (command && command.trim()) {
|
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)
|
// Use cwd (actual project directory) instead of projectPath (Claude's metadata directory)
|
||||||
|
|||||||
Reference in New Issue
Block a user