This is the mail archive of the cygwin@cygwin.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: Problem with shell commands


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/


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