process
wait
waits until a forked process terminates
Calling Sequence
Description
wait()
Important: The process package has been deprecated. Use the superseding package Threads instead.
Waits for a child process that was created by fork to terminate, and returns the process ID of the process that terminated.
If more than one child process is running, the first one to terminate, will cause wait to return. Subsequent calls to wait will wait for one of the remaining processes to terminate.
The command with(process,wait) allows the use of the abbreviated form of this command.
See Also
process(deprecated)[fork]
process(deprecated)[kill]
Threads
Download Help Document