Hi,
I am very new to this. I am experimenting with using a VB.NET class called Process to run pw5.exe with arguments. Once the script specified in my Process call has run, pw5 exits and I capture its exit code. Unfortunately, this appears to be 0 whether my script failed or succeeded. I see that one can use a command to exit a child script and return a user defined return value. Going up a level, is there a way I can manipulate the return value of pw5.exe based on the success or failure of my script? I doubt it, and the OS might not like it anyway. Can someone suggest an alternative way of getting a pertinent return value back to my calling Process class?
Thanks in advance.
JT
I am very new to this. I am experimenting with using a VB.NET class called Process to run pw5.exe with arguments. Once the script specified in my Process call has run, pw5 exits and I capture its exit code. Unfortunately, this appears to be 0 whether my script failed or succeeded. I see that one can use a command to exit a child script and return a user defined return value. Going up a level, is there a way I can manipulate the return value of pw5.exe based on the success or failure of my script? I doubt it, and the OS might not like it anyway. Can someone suggest an alternative way of getting a pertinent return value back to my calling Process class?
Thanks in advance.
JT