I am trying to achieve automation of daily regression tests, followed by
email-send of the test status.
My powershell script would run the Exe's synchronously, waiting untill each
completes & go onto next.
part of spowershell cript:
Currently, If all the Exe's run to completion, my scripts sends status email
But if any of Exe has abnormal termination-problem, popping up
Windows-dialog("want to debug/close?").
(The problem could be some memory-leaks,asserts etc. in the Exe)
So often, my script is stuck & sends no status.
How best to tackle this problem?
"Marco Shaw [MVP]" <marco.shaw@xxxxxx_SPAMgmail.com> wrote in message
> Can you provide an example? Your main PowerShell script runs these EXEs
> asynchronously, or waits until each completes?
> "sanjeev kumar" <sanjeev.kumar@xxxxxx> wrote in message
>> I am running automated daily-regression tests - various configs.
>> I have written powershell script invoking EXEs .
>> But, if any Exe crashes/stops(anything abnormal suspension) , how can my
>> script track this event?
>> Can a parent powershell monitor child-shell which then invokes each
>> binary exec. ?
>> Any suggestion would be welcome.