Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Eliminate Return from iwodstart in cgi??(How To)
Lynchy
I am running an iwodstart command from a cgi script and getting something along the lines of:
Locating OpenDeploy service.
OpenDeploy server host: localhost, RMI registry port: 9173
Got OpenDeploy service.
Just a snippet to give an idea. This is being displayed in the cgi window. I have been trying to eliminate it to avail. Anyone have any ideas??? Thanks in advance..
Find more posts tagged with
Comments
Adam Stoller
This sounds like your CGI script is capturing the output from iwodstart (on STDIN) and sending it to the browser (on STDOUT).
How are you invoking iwodstart? With backticks? with system()? with exec()? with open()?
Generally you should be able to just redirect the output to somewhere else as part of the command string:
"$iwodhome/bin/iwodstart > /dev/null"
On Windows - I believe it's
"$iwodhome/bin/iwodstart > nul"
--fish
(Interwoven Senior Technical Consultant)
Lynchy
Hey fish,
Thanks so much I could not find info on that anywhere and I am kinda new to PERL so it was baffling me. Thanks again