View Single Post
  #5  
Old 01-10-2008, 08:54 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Do not use lsruby_runner.rb, just run simple.rb directly by changing the command configuration, use a LSAPI context instead of *.rb script handler to invoke the app.

AEM's code should work.

And if you want to make your code works, I think you need a little more changes need to Hanlder::LiteSpeed,
All references to STDIN, STDOUT should be changed to use the object return by LSAPI.accept.
Reply With Quote