Created
November 4, 2014 16:32
-
-
Save xcambar/6eb2523dcc0c82919137 to your computer and use it in GitHub Desktop.
Subshell example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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