Как запустить файл после ошибки?



  • Я хочу запустить файл после ошибок или тайм-аутов. Какими должны быть настройки? Я хочу, чтобы это работало, когда есть какая-либо ошибка или просто тайм-аут.

    4.png



  • @SienLope
    PROCESS_ERROR_OUTPUT is a variable in which the error text is saved. If it happened. If the variable is empty there is no error. PROCESS_STANDART_OUTPUT is a variable in which the text with the result of your .bat, Batch script is saved. Sorry google translation)
    In the upper field, write what you would write in the .bat file to launch the desired application or any actions. This .bat file that is created is launched and destroyed upon execution.



  • @f0cus said in Как запустить файл после ошибки?:

    PROCESS_ERROR_OUTPUT is a variable in which the error text is saved. If it happened. If the variable is empty there is no error. PROCESS_STANDART_OUTPUT is a variable in which the text with the result of your .bat, Batch script is saved. Sorry google translation)
    In the upper field, write what you would write in the .bat file to launch the desired application or any actions. This .bat file that is created is launched and destroyed upon execution.

    yes did working but how can I run when there is a timeout :/



  • @SienLope
    It launches bat and waits until it gets the result or gets an error. This is an asynchronous action and it only starts it. He does not control it. You set the speed and other parameters yourself in your script. If you do not want to wait, then remove the daw. But you will not get the result. He will be But in BAS you will not see him.
    example cmd.xml



  • @f0cus Thank you bro :)


Log in to reply