fork(1) download
  1. #!/bin/bash
  2. NUM=1 && find . -name "*" -exec bash -c "NUM=2; echo \$NUM" \;
Success #stdin #stdout 0.03s 5268KB
stdin
Standard input is empty
stdout
2
2