Skip to content

Instantly share code, notes, and snippets.

@Ragmaanir
Created March 16, 2016 22:20
Show Gist options
  • Save Ragmaanir/c36a68183aab22bd3cfb to your computer and use it in GitHub Desktop.
Save Ragmaanir/c36a68183aab22bd3cfb to your computer and use it in GitHub Desktop.
pr = Process.new("echo tests; sleep 20", output: true, error: true)
puts pr.pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment