INtime SDK Help
waitproc - wait for process (waitproc.rta)
INtime SDK v7 > INtime Utilities > DRTOS Utilities > waitproc - wait for process (waitproc.rta)

Name

waitproc - Wait for a process to be loaded on the local node.

Command line

waitproc procname | prochandle [nsecs]

Comments

This utility is intended to be used in startup scripts to ensure a process is ready.

Looks for a process by its name or its handle. If nsecs parameter is specified the utility polls every second until the process is present.

Returns

 0 on success, 1 if the process is not present.