Thanks for the feedback.
I am running the Bash shell and I ran the following and it failed:
<cfexecute name="/bin/ls" arguments="-z 2>&1" variable="result" timeout="60"></cfexecute>
<cfoutput>#result#</cfoutput>
Also, I deliberately made and error with ls arguement by putting a "-z", which is an invalid option. This produces output to standard error but with the above code, CF is unable to capture it.
Hope to hear back from you.
Dave Adams
>On Thu, 2004-02-12 at 10:03, Rob Rohan wrote:
>> You can redirect stderr to stdout by doing
>>
>> [EMAIL PROTECTED] rob]$ ls 2>&1
>>
>> the 2>&1 says take stderr (2) and put it where stdout (1) goes.
>
>(depending on your shell of course - thats for bash and sh)
>
>
>--
>Vale,
>Rob
>
>Luxuria immodica insaniam creat.
>Sanam formam viatae conservate!
>
>http://www.rohanclan.com
>http://treebeard.sourceforge.net
>http://ashpool.sourceforge.net
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]