-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tic tac toe #16
base: master
Are you sure you want to change the base?
tic tac toe #16
Conversation
puts "Quitting gracefully..." | ||
print "\n" | ||
sleep 2 | ||
%x( ^c ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wat. Are you sending a Ctrl-C into the process to make it quit? I'm not sure if that's awesome or crazy or crazy-awesome.
Perhaps a call to exit
would do the job here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hahaha, I was proud of that line. Also, did not know about the exit
command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this work for you? I can't make it work.
No such file or directory - ^c (Errno::ENOENT)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it did. It spit out a 4-5 line error message, and quite. Hence the 'quitting gracefully'. In any case, now that I know about exit, that's clearly the way to go.
@jaybobo @paradime @mikegee @kalebdavis