from: Shawn McKee <[EMAIL PROTECTED]>

>If I do this:
>
> <cfexecute name="/bin/cp" arguments="-R -p #dirName1# #dirName2#/fred"
>outputfile="#outName#/cpOut"></cfexecute>
>
>where 'fred' doesn't exist I get this in the output file:
>
>/bin/cp: cannot create directory `/ftp/ahb/ahb/bkm/fred': No such file or
>directory
>
>If it succeeds the file is empty
>
>Neither case is a "single integer."
>
>Documentation says this:
>
>outputFile - Optional. The file to which to direct the output of the
>program. If not specified, the output is displayed on the page from which it
>was called.
>
>This is all CF5 on RH-Linux
>
>Shawn

Shawn, I don't know how Linux works, but both GNU's cp and Solaris's cp
does this:

$ gcp -R -p /tmp/lwv /tmp/lwv26
$ 
 
In other words, no output is produced.  There is a $? return code that 
is 'returned' - but it's not output to stdout or stderr.

-- 
Support Internet Radio <URL: http://saveinternetradio.org/ >
Larry W. Virden <mailto:[EMAIL PROTECTED]> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to