Created
August 31, 2010 14:01
-
-
Save timwaters/559060 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#tried this with ` Kernel.system IO.popen and open3:popen3 | |
p "mkdir -p tmp/demo/{first/{app,views},second}" #works on command line tmp/demo/first/app /views tmp/demp/second | |
`mkdir -p tmp/demo/{first/{app,views},second}` #doesnt - literally creates tmp/demo/{first/{app,views},second}/ | |
#sh -c "/bin/mkdir -p tmp/demo/{first/{app,views},second}" on command line also creates the same error, if that helps | |
`bash -c "mkdir -p tmp/demo/{first/{app,views},second}"` DOES WORK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment