| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <1DAF66E890E7D411828000D0B7912222ED3C@MSNLMX01> |
| From: | "Hoyt, Ben" <Ben DOT Hoyt AT marconi-online DOT com> |
| To: | "'J H Buffington'" <jbuff AT pacific DOT net>, |
| "'cygwin AT cygwin DOT com'" | |
| <cygwin AT cygwin DOT com> | |
| Subject: | RE: gawk system() problem? |
| Date: | Mon, 15 Jan 2001 15:48:18 +1300 |
| MIME-Version: | 1.0 |
| X-Mailer: | Internet Mail Service (5.5.2653.19) |
> This works for me
> BEGIN {
> print system("command.com /c dir")
> }
>
> but I'm sure that command.com is in my path.
> I suppose if you're on NT, it might be cmd.exe.
>
Interesting. It doesn't for me. :-( I'm running Win95 and
command.com is definitely in my path. The above awk program simply displays
a "0" and nothing else. I guess by "it works for me" you mean displaying the
directory? Hmmm.. oh well. Thanks again.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |