Is is possible in bash - or other sh-derivative shell - to run in the foreground from command-line a list of commands that have their own variable scope (so any values assigned to variables in that scope will not known outside that scope), but also - if spawning a background command - that background command still be a job under the parents shell, i.e. still under the command-line shell's job control? If there are more than 1 way to do this, which way is the most practically short?
I know using parentheses will create new subshell that have its own scope, but any spawned background command will not be under the shell's job control anymore.