Cannot open pipe

Davin Pearson <[email protected]> Wed, 11 Jan 2012 14:10:42 -0800 (PST)
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <dd4c1b4c-5d8c-4338-8c5c-b6c035b98be5@p13g2000yqd.googlegroups.com>
I created the file foo.m4 with the following contents:

esyscmd(c:/cygwin/bin/date.exe)

When I run "m4 foo.m4" it generates the following error message:

m4:foo.m4:1: Cannot open pipe to command `c:/cygwin/bin/date.exe':
No such file or directory.

The file date.exe exists on my hard drive so what gives?

I have tried Windows XP and Windows Vista in conjunction with CYGWIN.