From: Tony De Date: 2010-10-23T00:24:33+09:00 Subject: Re: How to pass/return a string to calling program? Jeremy Bopp wrote in post #956216: > On 10/21/2010 06:12 PM, Tony De wrote: >>> These should definitely work. >>> they output something at all? If they are printing something, try >> root@smi2-new:/usr/local/services/secure_dir# ./service_prov >> ../config_files/pms.2006.66056308205 >> OKroot@smi2-new:/usr/local/services/secure_dir# >> >> I tried the sync option, but client didnt' get the response. My perl >> script does... > > Are you certain that your Ruby scripts are even running? What is the > exit code your server gets back from running the scripts, and is that > result expected? Do you have any way to independently confirm that your > server is actually running your scripts? If not, you might try > modifying one of your scripts to have it create an empty file in a well > known location which you could then check for existence after triggering > your script to run. > > -Jeremy My script is running; I run it from the command line as I develop it. I can confirm that the script is doing everything it should. It may be, although I don't see how, an issue with the daemon calling the script. I'll have to dig from the other direction. I may be missing something... Thank you -- Posted via http://www.ruby-forum.com/.