This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: gawk system() problem?



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]