FOO=bar bash -c 'somecommand someargs | somecommand2'