Print log when in background mode
Add silent option for background task

Note that we cannot pass an empty object as the spawn option since the process
then spawns in an empty environment.