Not able to run xaml file from commandprompt/js

I am not finding robot.exe so using UiPath assistant.exe. when i try to run in command prompt it is opening assistant but not triggering any process

when i try to run from js the same thing happens…assistant is opening but not able to run it.

Code:
const command = ‘C:\Users\user\AppData\Local\Programs\UiPath\Studio\UiPathAssistant\UiPath.Assistant.exe -file “C:\Users\user\Documents\UiPath\python\Main.xaml”’;

exec(command, (error, stdout, stderr) => {
if (error) {
console.error(Error: ${error.message});
return;
}
console.log(stdout: ${stdout});
console.error(stderr: ${stderr});
});

Error:

stdout:
2023-11-29T09:49:46.566Z making sure files are closed…
2023-11-29T09:49:46.570Z all files are closed

stderr:

It is not printnig anything in stderr…

What could be the issue? kindly help in running the process in assistant

HI,

If you want to run UiPath process, can you try to use UiRobot.exe execute command as the following document?

Please note that Windows project doesn’t support run from xaml file. please use nupkg or -p option.

image

Regards,

i am not finding uirobot.exe in my system…is it not at all possible from assistant exe?

Can you check it in C:\Users\user\AppData\Local\Programs\UiPath\Studio?

UiPath.Assistant.exe doesn’t have feature to launch UiPath process via command line.

Got it and works fine…Thank You

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.