Waits for a process to complete.
Supported Platforms: AutoCAD for Windows only; not available in AutoCAD LT for Windows, or on Mac OS and Web
Signature
(acet-sys-wait processID [time])
- processID
-
Type: Integer
ID for the sub-process.
- time
-
Type: Integer
If given, the number of milliseconds to wait.
Return Values
Type: Integer
Exit code from the given process, or -1 if an error occurred or time expired.