cfexecute/aspell problem

Discussion in 'Programming' started by rpdoty, Aug 24, 2006.

  1. #1
    Hi,
    I'm having problems executing an aspell command using cfexecute. It's executing on a unix machine. It works fine from the command line:

    cat spell_87.txt | /usr/aspell -a

    When I run the following cfexecute it returns the contents of the file plus many lines of unreadable code instead of the aspell output (stopping at the pipe):

    <cfexecute name="cat" arguments="spell_87.txt | /usr/aspell -a" timeout="100"></cfexecute>

    (the default installation of aspell has the following cfexecute for a windows machine:
    <cfexecute name="C:\WINDOWS\SYSTEM32\cmd.exe" arguments="/c type spell_87.txt | /usr/aspell -a" timeout="100"></cfexecute>
    )

    Any ideas what the problem is?

    Thanks very much.
     
    rpdoty, Aug 24, 2006 IP