Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
OD Output redirection
mk2004
Hi,
How can I redirect the output of my OD command running in my cgi?
OD Command:-
system($command, $deploy_script, $ODstr, $ODID, $flag, $srcfile, $option, $wa);
I tried the below command but it fails.
system($command, $deploy_script, $ODstr, $ODID, $flag, $srcfile, $option, $wa,">>/dev/null");
OD version 5.6
Find more posts tagged with
Comments
Adam Stoller
try either:
system("$command $deploy_script $ODstr $ODID $flag $srcfile $option $wa >/dev/null 2>&1");
or
my
@results
= qx("$command $deploy_script $ODstr $ODID $flag $srcfile $option $wa 2>&1");
I believe either/both should do the job.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
mk2004
Thanks fish. The first command worked.
SampleReportAndData.zip