Skip to content

Instantly share code, notes, and snippets.

@mdarby
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdarby/b330704e4902aac63d99 to your computer and use it in GitHub Desktop.
Save mdarby/b330704e4902aac63d99 to your computer and use it in GitHub Desktop.
# They do different things. exec replaces the current process with the new process.
# system invokes another process and returns its exit value to the current process.
# backticks invokes another process and returns the output of that process to the current process.
while true
puts `bundle exec rspec 'spec/dev_free_ipad_idempotent_spec.rb'`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment