Simple exe question

85 views
Skip to first unread message

Michael Spizzirri

unread,
Oct 29, 2015, 12:11:51 PM10/29/15
to OCRA One-Click Application Builder
I created a simple dice roller via Ruby and am using Ocra to convert it to a exe. It works great, but I cannot get the command window to stay open or allow the program to be re-run without having to launch it again. Any ideas?

the command i use to create is ocra roller.rb 

I have attached my file for testing purposes.

Thanks!
roller.rb

a a

unread,
Oct 30, 2015, 9:53:59 AM10/30/15
to OCRA One-Click Application Builder
If I understand your question correctly, this depends on how you coded your app. Does it have a loop to restart once the last line of code has been reached? Or if you just want it to remain open at the end (not looping), you could just add a "gets" at the end of your app. Hope it helps.
Reply all
Reply to author
Forward
0 new messages