Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Lars Christensen
RE: Creating Executable File Without Console [ reply ]  
2009-09-09 15:24
Yup, .rbw files will default to the non-console runtime. You can also enforce it with a command line option:

ocra --windows script.rb

By: Leviathan .
RE: Creating Executable File Without Console [ reply ]  
2009-09-07 18:24
Found it! Just set the .rb file extension of the file to .rbw and use ocra. That's it. :)

By: Leviathan .
Creating Executable File Without Console [ reply ]  
2009-09-07 18:19
Anyone know how to use OCRA so that the executable created doesn't require a console window to be open the -entire- time the program is running?

I run a series of tasks that would be great if they ran non-obtrusively (without any consoles) in the background, similar to how rubyscript2exe once did.

I had a rubscript2exe file, but recently upgraded ruby and this is how I learned about the wonderful OCRA project. I did a series of updates to my scripts, but after being compiled, they no longer run as quiet as they used to. They do what they have to do, it's just annoying to seem them popping up every time. A flag to suppress console would be preferable.