run_as_bat
run_as_bat($content,$path,$show); - execute the bat file on the computer where the human emulator is running.
The function accepts parameters as input:
$content – contents of the bat file$path – path to the file$show – whether to show the window with the result of execution
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed