Home > Objects > @Process > waitfor.m

iFit/waitfor

PURPOSE ^

waitfor(pid): wait for the end of a running process

SYNOPSIS ^

function pid=waitfor(pid)

DESCRIPTION ^

 waitfor(pid): wait for the end of a running process

 @Process/waitfor: wait or the end of a running Process. Its status
 output and error print-out are updated.

 input:
   pid: a process object as created with Process('command')

 examples:
   pid=Process('ping 127.0.0.1')
   refresh(pid);
   pid.stdout
   waitfor(pid);

 See also: Process, Process/refresh, Process/exit
 Process is part of iFit http://ifit.mccode.org

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1