exit a cmd from R without admin privilege

I run:
system("TASKKILL /F /IM cmd.exe")
I get
Erreur�: le processus "cmd.exe" de PID 10333 n'a pas pu être arrêté.
Raison�: Accès denied.
Erreur�: le processus "cmd.exe" de PID 11444 n'a pas pu être arrêté.
Raison�: Accès denied.

I execute a batch file> a cmd open>a shiny open (I do my calculations)> a button on shiny should allow the cmd closing (and the shiny of course)
I can close the cmd from command line but I get access denied when I try to execute it from R. Is there hope? I am on the pc company so I don't have admin privilege

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.