This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem with shell commands
- To: <Andrej dot Borsenkow at mow dot siemens dot ru>
- Subject: Re: Problem with shell commands
- From: Joerg Fischer <jf505 at yahoo dot de>
- Date: Sun, 15 Jul 2001 21:52:03 +0200
- CC: <cygwin at cygwin dot com>
Hello,
sorry, I didn't pay enough attention, I just copied from the original message ;-)
So yes, now I don't get an invalid null command message. But strangely enough it still does not work.
What I/O descriptors can be open that NEdit sees?
Are stdin, stdout or stderr always open?
Joerg
-----------------
>On Sun, 15 Jul 2001, Joerg Fischer wrote:
>
>> > you should write (csh)
>> > view % & < /dev/null >& /dev/null
>....
>> The above /dev/null trick doesn't work for Cygwin (invalid null command).
>>
>
>I am very surprised that this works anywhere else. The correct is
>
>view % < /dev/null >& /dev/null &
>
>& is command separator, just as newline or ; so your example is
>interpreted as two commands, the second one with just redirections (that's
>about null command).
>
>-andrej
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/