This command behaves the same as the run command, except that it waits for the completion of the process or program before continuing.
|8.0.584.0||AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows|
scandskw.exe program and waits for the program to complete before continuing with the action script. The use of quotes is recommended practice, and necessary if there are spaces in the file name.
On non-Windows platforms:
wait chmod 555 inventory.sh
On a Windows computer, this command has the same effect as calling the CreateProcess function with
<command-line>. This is also the same as using
<command-line> in the Windows Run dialog.
See the Windows documentation on CreateProcess for a discussion of the method used to locate the executable from a
wait command has two available override keywords:
disposition. See the override documentation for details.