[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with syscmd
From: |
Eric Blake |
Subject: |
Re: Problems with syscmd |
Date: |
Thu, 27 Aug 2009 07:05:53 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[please refrain from HTML mail on technical lists]
According to Markus Petek on 8/27/2009 1:30 AM:
> System:
>
> Windows XP Prof SP2
>
> m4 Version: 1.4.10b-2
Consider upgrading; the latest stable version is 1.4.13, and has some
improvements to syscmd.
>
> it shows no error message but the test.tmp is also not created
>
> create_test_temp.bat:
>
> echo eval([^<98/3^>]) >> test.tmp
>
> echo define([^<ACCU_VALUE^>],123-%1%) >> test.tmp
You may want to insert more debugging within your .bat script, to ensure
that it is being executed the way you think. I personally haven't used m4
to run cmd scripts via windows m4, but cmd is such a hard shell to quote
properly for in the first place that I wouldn't be surprised if you are
invoking it incorrectly from your syscmd.
>
> syscmd(`create_test_temp.bat?)
>
> include(`test.tmp?)
These two lines don't correspond to the output you showed above. Posting
a complete reproducible testcase might help clarify exactly what you tried.
> Diese Nachricht ist ausschließlich für die Personen bestimmt, an die sie
> adressiert ist.
It is considered poor netiquette to post to a publicly-archived list with
a legal disclaimer that cannot be enforced, and some people refuse to
reply as a result, limiting the help you can get. Please consider posting
email from an account that does not append trailers like this.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkqWhLEACgkQ84KuGfSFAYAkIACfftBoJpq4Ig6Kklc3zFQQaCEc
tcoAoLW2GGKsdDc+EVAPmUnHSC7qkSrZ
=6Hhs
-----END PGP SIGNATURE-----