--bg
Spawns the agent as a background task and immediately returns control to the shell.
Syntax
--bgExample
Terminal
claude --bg "investigate the flaky test"Progress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
--bgSpawns the agent as a background task and immediately returns control to the shell.
--bgclaude --bg "investigate the flaky test"