For example if you run:
<cfexecute arguments="-z" name="/bin/ls" variable="result" timeout="60"></cfexecute>
<cfoutput>#result#</cfoutput>, this will result in no output to screen nor would it be available to your code.
If you run:
<cfexecute arguments="/bin/ls -z" name="/usr/local/sbin/RunCommand.pl" variable="result" timeout="60"></cfexecute>
<cfoutput>#result#</cfoutput>, the error messages are output to screen and hence made available for use within variable and outputfile.
The following PERL script (RunCommand.pl) looks like this and anyone is welcome to use it. I hope it is useful to others because it was a big help to me. Thanks to my co-worker.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

