M4 has, incorrectly, been compiled with '/bin/sh' as shell. This should have been 'cmd', or even better, in builtin.c, the value of SYSCMD_SHELL should have been taken from some environment variable. This will be fixed in the next release.
Kees Zeelenberg -------------------------------------------------- From: "Henrique Martins" <gnuwi...@martins.cc> Sent: Monday, March 08, 2010 7:56 PM To: <gnuwin32-users@lists.sourceforge.net> Subject: [GnuWin32-Users] syscmd/esyscmd fail on windows with m4 1.4.13 > > I have an m4 file where I call esyscmd to get the host name on a > windows xp system. This used to work on 1.4.9 but fails on 1.4.13. > Just tested it and both > syscmd(hostname) > esyscmd(hostname) > work with 1.4.9 but error out with "no such file or directory" > with 1.4.13. Hostname.exe is in c:\windows\system32 but trying > hostname.exe or giving the full path with forward or backward > slashes, etc, still errors out. > > -- Henrique > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > GnuWin32-Users mailing list > GnuWin32-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnuwin32-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users