Hi, I’m using a Powershell to run the Win-64 OpenSSL batch but I have some problems.
The basic OpenSSL batch needs to load after it opens and then you can write the command string.
The string works if I do it manually, but in Powershell no.
Here is my code:
Start-Process -FilePath “$mypath/start.bat” -ArgumentList “/c $myString”
I’m afraid the Argument are passed too soon and the OpenSSL isn’t loaded yet (the batch opens). Is there a way to open the batch(like Invoke-Item) and pass the arguments after 4 seconds?
Thanks in advance for the help