Need to invoke the bat file while executing from LRE 2022 R1

Hi Team,

We are trying to run on batch file using Vugen it working fine. when we are running in vugen script in Local machine we able see batch file is running in command prompt.

Issue:

When we are trying in LRE 2022 r1 using LG.

The script is not able to running with bat file in LG .

below the code and we have created exe in LG:
lr_start_transaction("001_start");

system("E:\\simulator.exe");

lr_end_transaction("001_start", LR_AUTO);
Can Any one suggest how to see the Simular.exe in LG while click EXECUTE on LRE