Skip to content

Instantly share code, notes, and snippets.

@xcambar
Created November 4, 2014 16:32
Show Gist options
  • Save xcambar/6eb2523dcc0c82919137 to your computer and use it in GitHub Desktop.
Save xcambar/6eb2523dcc0c82919137 to your computer and use it in GitHub Desktop.
Subshell example
with_subshell()
(
local_var="I'm local"
)
with_subshell
echo "$local_var"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment