Fix command execution in checkDevChatDependency function
- Enclosed the pipxDevChat command in quotes to ensure correct execution, especially when the path contains spaces.
This commit is contained in:
parent
8f846e2d62
commit
46ea8cc436
@ -63,7 +63,7 @@ export function checkDevChatDependency(pythonCommand: string): boolean {
|
||||
try {
|
||||
// Check if DevChat is installed
|
||||
const pipxDevChat = path.join(pipxBinPath!, 'devchat');
|
||||
runCommand(`${pipxDevChat} --help`);
|
||||
runCommand(`"${pipxDevChat}" --help`);
|
||||
|
||||
UiUtilWrapper.updateConfiguration('DevChat', 'DevChatPath', pipxDevChat);
|
||||
const error_status = `DevChat has installed.`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user