Alexandre Stehlin wrote:
> "C:\Program Files\ruby\bin\ruby.exe" "C:\Program 
> Files\RR_Outils\FileHandler\FileHandler.rb" -s

Oops, made a mistake in the name of the file : it's FileHandlerService 
that I used...

When I tried "C:\Program Files\ruby\bin\ruby.exe" "C:\Program 
Files\RR_Outils\FileHandler\FileHandler.rb" -r (to run the service), the 
out_file is empty and I get in this in the cmd window :
C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:408:in 'load xml': 
Not valid XML-file <Runtime Error>
from C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:326:in 'load 
config'
from C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:558:in 
'service_init'
from C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:604:in 
'mainloop'
from C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:604:in 
'execute'
from C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:655
-- 
Posted via http://www.ruby-forum.com/.