BackGround
Execute a command in the background.
- BackGround
Shortest form:
bg.Run one or two command lines in a background thread and return at once. Each argument is one complete command line: quote it, and use single quotes to delay
$varexpansion until the job runs. Only the first two arguments are used; any further ones are silently dropped. The second line runs only if the first succeeds.At most 10 jobs can exist at a time (
bg: ERROR: too many background tasks). Jobs are numbered from 1; seejobsandkill. A failing job printsbg: error in job <n>: code <rc> cmd_idx: <i>. Output goes to the shell’s console: the connectedbcmsh/bcmcmdclient, or syslog when nobody is connected.Whether a job is safe depends on its commands. It runs at the same time as
syncdand as your foreground commands.Hardware-validated
drivshell> background "sleep quiet 30" "echo done"Built-in help
bg "<cmd>" Execute cmd in the backgroundFurther reading
SDK-6.5.20 HSDK Getting Started Guide (GS-SDK6520-R), plus SDK-6.5.20/21/22 Release Notes (RN-SDK65xx-R), BCM_SDK命令.