You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have run into an issue after upgrading to 1.7.0, where I am using the winrm plugin to run an install.exe file on a remote windows server. The install.exe is spawned and then the winrm session closes, at which point the install.exe session also is terminated. This behavior is not seen on the 1.5.1 version.
I found that if I added a wait after the install.exe is spawned, the exe will complete successfully.
if I set the wait to 10 seconds I can watch the process page and see both the winrm and exe sessions terminate at the same time. I have also tried to force the exe to install silently, without any change in behavior.
any ideas on why this behavior changed between the versions?
The text was updated successfully, but these errors were encountered:
Hrmm no specific changes to the script should have modified that behaviour that I can see.
It's possible the updated gems we are using are little better at closing sessions than before or something.
If you run the installer via PowerShell you should be able to make your script -Wait for the process to finish before continuing.
Hello,
I have run into an issue after upgrading to 1.7.0, where I am using the winrm plugin to run an install.exe file on a remote windows server. The install.exe is spawned and then the winrm session closes, at which point the install.exe session also is terminated. This behavior is not seen on the 1.5.1 version.
I found that if I added a wait after the install.exe is spawned, the exe will complete successfully.
Running this script step fails:
Running this script step is successful:
Running this script step is also successful:
if I set the wait to 10 seconds I can watch the process page and see both the winrm and exe sessions terminate at the same time. I have also tried to force the exe to install silently, without any change in behavior.
any ideas on why this behavior changed between the versions?
The text was updated successfully, but these errors were encountered: