Skip to content

Instantly share code, notes, and snippets.

@vangberg
Created July 18, 2011 13:41
Show Gist options
  • Save vangberg/1089541 to your computer and use it in GitHub Desktop.
Save vangberg/1089541 to your computer and use it in GitHub Desktop.
$pid = fork
if $pid == nil
exec "./srvd/redis-server ./srvd/redis.conf"
end
sleep 5
Process.kill(:$pid)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment