Try the following nsh code:
while ps | grep -iq some_command
Thanks, I already thought of that. I wanted to avoid rewriting their installer batch file as an NSH script, but if that's what's required here then so be it.
Right now it's executed as a type 3 (non-NSH) so I wouldn't have access to ps and other unix-like commands.
It isn't just Windows scripts that do this.
I had to do exactly this for the automated Oracle install.
my code snippet looked like this:
su oracle -c "./runInstaller -silent -responsefile /var/tmp/standard.rsp"
while `ps -fu oracle; do
echo Waiting for `ps -fu oracle|wc -l` processes to go down to 1 processes