I was trying to print the temporary variable in the shell command, but I only got four empty line.
/bin/sh -c "for i in {1..4}; do echo "$i"; done&