Created
September 6, 2011 16:46
-
-
Save banister/1198126 to your computer and use it in GitHub Desktop.
Changing current directory with `posix_spawnp`
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
Changing current directory with `posix_spawnp` | |
```ruby | |
posix_spawn('sh -c "cd blah ; ls') | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment