Home > Objects > @Process > refresh.m

iFit/refresh

PURPOSE ^

refresh(pid): read process status and output

SYNOPSIS ^

function pid=refresh(pid)

DESCRIPTION ^

 refresh(pid): read process status and output

 @Process/refresh: determines if the referred command is still running
 and collects the content of its printed output and error messages (stdout/stderr).

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

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

 See also: 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