Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 979 Bytes

File metadata and controls

23 lines (14 loc) · 979 Bytes
title
wait

This command behaves the same as the run command, except that it waits for the completion of the process or program before continuing.

Syntax

wait <command-line>

Examples

Runs the 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.

wait "scandskw.exe"

Notes

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 <command-line>.