5. .background

SCR Agent for executing processes on the background

5.1. Authors

  • Ladislav Slezak <lslezak@suse.cz>

5.2. Description

Access type: read/execute

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

5.3. Usage

Example 5. 

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)
This script executes programm on background. Reading full
subprocess STDOUT or only number of output lines is possible while
programm is running.