acet-sys-wait

Parent Previous Next

acet-sys-wait


(acet-sys-wait  pid  [timeout])

Waits until the process specified by pid is finished; if timeout is provided and non-NIL, the function waits only for specified  milliseconds; otherwise it waits for unlimited time.

Returns the exit code of the program, or -1 if the timeout is reached, or any other error occurred.



©  Menhirs NV. All rights reserved.