cfexecute doesn't capture standard error by default

try something like this

arguments = '/C c:\temp\test.bat 2>&1'

z

On Mon, Oct 20, 2008 at 2:36 PM, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
> Dam,
>
> It was a permissions thing on local computer, took it to the server and it
> worked.
>
> Stay tuned for round 2.
>
> Regards
> Dale Fraser
> http://learncf.com
> http://flexcf.com
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
> Of Mark Mandel
> Sent: Monday, 20 October 2008 2:12 PM
> To: [email protected]
> Subject: [cfaussie] Re: CFEXECUTE Weirdness
>
>
> Dale,
>
> Try running CF from the command line, you may see some errors show up there.
>
> I've not done much with cfexecute, but in theory, if something is
> going wrong, it will show up there.
>
> Mark
>
> On Mon, Oct 20, 2008 at 1:54 PM, Dale Fraser <[EMAIL PROTECTED]> wrote:
>> I still cant get this to work.
>>
>>
>>
>> No matter what I try, both the outputfile and variable return nothing, an
>> empty file is created for the file one.
>>
>>
>>
>> I wonder if the program isn't writing to stdout correctly, though when I
> run
>> from commandline it shows the output.
>>
>>
>>
>> Regards
>>
>> Dale Fraser
>>
>> http://learncf.com
>>
>> http://flexcf.com
>>
>>
>>
>>
>>
>> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf
>> Of MrBuzzy
>> Sent: Monday, 20 October 2008 1:26 PM
>> To: [email protected]
>> Subject: [cfaussie] Re: CFEXECUTE Weirdness
>>
>>
>>
>>
>>
>> There was a thread in the last week or two that covered cfexecute, I think
>> Steve Onnis was asking about it...
>>
>> On Mon, Oct 20, 2008 at 1:24 PM, Dale Fraser <[EMAIL PROTECTED]> wrote:
>>
>> I just tried that and errorV is not defined, thus it thinks its not
> getting
>> an error.
>>
>> I think im just passing the parameter wrong somehow.
>>
>> Regards
>> Dale Fraser
>> http://learncf.com
>> http://flexcf.com
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf
>> Of Barry Beattie
>> Sent: Monday, 20 October 2008 1:16 PM
>> To: [email protected]
>> Subject: [cfaussie] Re: CFEXECUTE Weirdness
>>
>>> The variable is always blank, any ideas?
>>
>> yes. you may be getting an error you're not seeing.
>>
>> is this CF8? this might be some help:
>>
> http://www.coldfusionjedi.com/index.cfm/2008/4/9/ColdFusion-801-change-to-CF
>> EXECUTE
>>
>>
>> <br
>>
>> >
>>
>
>
>
> --
> E: [EMAIL PROTECTED]
> W: www.compoundtheory.com
>
>
>
> >
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to