20. .background

SCR Agent for executing processes on the background

20.1. Description

This script executes programm on background. Reading full subprocess STDOUT or only number of output lines is possible while programm is running.

Access type: read/execute

File Name: /usr/share/YaST2/scrconf/background.scr

See:

20.2. Usage

Example 4. 

  Execute(.run_output, "/bin/date") -> (true)
  Read(.newlines) -> (1)
  Read(.newout) -> [ "Tue Oct 16 09:21:18 CEST 2001" ]
  Read(.newlines) -> (0)
  Read(.isrunning) -> (false)
  Read(.status) -> (0)